コード例 #1
0
        StackPanel ITreeViewItem.Header()
        {
            string ImageFile;

            if (IsGingerDefualtFolder)
            {
                ImageFile = "@Documents_16x16.png";
            }
            else
            {
                ImageFile = "@Folder2_16x16.png";
            }
            return(TreeViewUtils.CreateItemHeader(Folder, ImageFile, SourceControlUI.GetItemSourceControlImage(Path, ref ItemSourceControlStatus)));
        }
コード例 #2
0
        StackPanel ITreeViewItem.Header()
        {
            string ImageFile = "@Folder2_16x16.png";  // TODO: find icon for Apps
            string Path      = "?";

            return(TreeViewUtils.CreateItemHeader(mApplicationPlatform.AppName, ImageFile, SourceControlUI.GetItemSourceControlImage(Path, ref ItemSourceControlStatus)));
        }