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
.NET