Label.ImageKey Property

Definition

Gets or sets the key accessor for the image in the ImageList.

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

A string representing the key of the image.

Attributes

Remarks

The ImageKey property specifies the image from the image list to display on the Label.

Applies to