ListView.GroupImageList Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The currently set GroupIcon image list.
public:
property System::Windows::Forms::ImageList ^ GroupImageList { System::Windows::Forms::ImageList ^ get(); void set(System::Windows::Forms::ImageList ^ value); };
public System.Windows.Forms.ImageList GroupImageList { get; set; }
public System.Windows.Forms.ImageList? GroupImageList { get; set; }
member this.GroupImageList : System.Windows.Forms.ImageList with get, set
Public Property GroupImageList As ImageList
Property Value
An ImageList that contains the icons to use for ListViewGroup.
The default is null
.
Remarks
The GroupImageList property allows you to specify an ImageList object that contains icons to use when displaying groups. The ListView control can accept any graphics format that the ImageList control supports when displaying icons. The ListView control is not limited to .ico files. Once an ImageList is assigned to the GroupImageList property, you can set the TitleImageIndex property of each ListViewGroup in the ListView control to the index position of the appropriate image in the ImageList. The size of the icons for the GroupImageList is specified by the ImageSize property.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應