ToolBarButton.ImageKey ToolBarButton.ImageKey ToolBarButton.ImageKey ToolBarButton.ImageKey Property

Definition

Gets or sets the name of the image assigned to the button.

public:
 property System::String ^ ImageKey { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.ImageKeyConverter))]
public string ImageKey { get; set; }
member this.ImageKey : string with get, set
Public Property ImageKey As String

Property Value

The name of the Image assigned to the toolbar button.

Remarks

The ImageKey value indicates an image in the ImageList assigned to the parent ToolBar control.

Applies to

See also