This documentation is archived and is not being maintained.

ToolboxItem.DisplayName Property

Gets or sets the display name for the toolbox item.

[Visual Basic]
Public Property DisplayName As String
[C#]
public string DisplayName {get; set;}
[C++]
public: __property String* get_DisplayName();
public: __property void set_DisplayName(String*);
[JScript]
public function get DisplayName() : String;
public function set DisplayName(String);

Property Value

The display name for the toolbox item.

Remarks

This property indicates the string that is displayed for the toolbox item in the toolbox.

By default, the base ToolboxItem class sets its DisplayName property to a short form of the fully qualified type name specified by the TypeName property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace

Show: