共用方式為


ListViewGroup.TitleImageIndex 屬性

定義

取得或設定要向群組顯示的影像索引。

public:
 property int TitleImageIndex { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.NoneExcludedImageIndexConverter))]
public int TitleImageIndex { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.NoneExcludedImageIndexConverter))]
[System.Windows.Forms.RelatedImageList("ListView.GroupImageList")]
public int TitleImageIndex { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.NoneExcludedImageIndexConverter))>]
member this.TitleImageIndex : int with get, set
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.NoneExcludedImageIndexConverter))>]
[<System.Windows.Forms.RelatedImageList("ListView.GroupImageList")>]
member this.TitleImageIndex : int with get, set
Public Property TitleImageIndex As Integer

屬性值

Int32

ImageList 中針對群組顯示的影像以零起始的索引。 預設值為 -1。

屬性

例外狀況

指定的值小於 -1。

適用於