Udostępnij za pośrednictwem


ModelExplorerTreeContainer.AddExplorerNodeCustomSetting Method

Definition

Method allows the user to associate image with the domainClass object. This allows the user to customize the image used for each type of 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)

Parameters

domainClassId
Guid

domainclass where the image is assoiciated.

treeNodeImage
Image

Image to be used

showDomainClassName
Boolean

to show className right next to the model element name.

Applies to