咨询VSS Treeview图标列表及VSTS/TFS Treeview控件图标相关问题
Great questions! Let's break this down for you:
Visual SourceSafe (VSS) is a legacy version control system, and there's no official public list of its Treeview icons published by Microsoft. Most of its Treeview icons are tied to file/folder types (e.g., default folder icons, icons for common code files like .cs, .cpp, .txt). If you need to reference these, you can typically find them in the VSS client installation directory's resource files, or extract them via registry entries that map file types to VSS-specific icons.
For the VSTS/TFS Treeview control you're working with, here's what you need to know:
Built-in Icon List
Yes, there's a set of built-in icons you can use with the icon: "icon icon-<name>" syntax. These icons are part of the Fabric UI icon library used by Azure DevOps (formerly VSTS/TFS). Common examples include:
icon-folderfor folder nodesicon-filefor generic file nodesicon-peoplefor user/group-related nodesicon-buildfor build-related nodesicon-workitemfor work item nodes
You can use most standard Fabric UI icon names in this format to match your node's purpose.
Custom Image Support
Absolutely, the control supports loading custom images! The syntax you provided (icon: "./images/sample.png") works perfectly. Just keep these tips in mind:
- The path is relative to the root of your extension package. Make sure the image file is included in your extension's deployment files when you package and publish it.
- Opt for small, square images (like 16x16 or 24x24 pixels) to ensure they display correctly in the Treeview without distortion.
内容的提问来源于stack exchange,提问作者Kah Wai Lee

