ModelExplorerTreeContainer.AddExplorerNodeCustomSetting 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
方法允许用户将图像与 domainClass 对象关联。 这允许用户自定义用于每种类型的 modelelement 的映像。
protected:
void AddExplorerNodeCustomSetting(Guid domainClassId, System::Drawing::Image ^ treeNodeImage, bool showDomainClassName);
protected void AddExplorerNodeCustomSetting (Guid domainClassId, System.Drawing.Image treeNodeImage, bool showDomainClassName);
member this.AddExplorerNodeCustomSetting : Guid * System.Drawing.Image * bool -> unit
Protected Sub AddExplorerNodeCustomSetting (domainClassId As Guid, treeNodeImage As Image, showDomainClassName As Boolean)
参数
- domainClassId
- Guid
domainclass,其中图像为 assoiciated。
- treeNodeImage
- Image
要使用的映像
- showDomainClassName
- Boolean
表示在模型元素名称旁边显示 className。