Label.ImageKey Label.ImageKey Label.ImageKey Label.ImageKey Property

定義

取得或設定影像在 ImageList 中的索引鍵存取子 (Accessor)。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

屬性值

表示影像按鍵的字串。A string representing the key of the image.

備註

屬性會指定要顯示Label在影像清單中的影像。 ImageKeyThe ImageKey property specifies the image from the image list to display on the Label.

適用於