ListView control details, listview Control
In Windows Resource Manager, folder or file information can be displayed as large or small icons respectively.
Attributes of the ImageList Control
Genus Description Images All images stored in the image list ImageSize Size of the image stored in the image list TransparentColor Transparent color ColorDepth Obtain the color depth of the image list Attributes, events, and methods of the ListView Control
Genus Description Columns Columns displayed in "details" View FullRowSelect When an item is selected, whether its subitem is highlighted together with the item Items Set of all items in ListView MultiSelect Allow multiple SelectedItems Set of selected items View View Mode of ListView LargeImageList Gets or sets the ImageList that is used when an item is displayed with an uppercase icon in the control. SmallImageList Gets or sets the ImageList used when an item is displayed as a small icon in the control. Event Description MouseDoubleClick Double-click event Method Description Clearn () Remove all items in ListView ContextMenuStrip Control Key
The ContextMenuStrip control is also a common control key. A shortcut menu can also be called a Context menu.
Main Properties and events of menu items
Genus |
Description |
DisplayStyle |
Whether to display images and text |
Image |
Images displayed on menu items |
Text |
Text displayed on a menu item |
Event |
Description |
Click |
An event occurred when you click an event and click a menu item. |