C# Класс GroupedListControl.ListGroup

Наследование: System.Windows.Forms.ListView
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Collapse ( ) : void

Causes the Displayed list of items to collapse, hiding all items and displaying only the columnheaders.

Expand ( ) : void

Causes the list of items to expand, showing all items in the Items collection.

ListGroup ( ) : System
SetControlHeight ( ) : void

Adjusts the item display area of the control in response to changes in the expanded or collapsed state of the control.

Приватные методы

Метод Описание
EnumChildWindows ( IntPtr hWndParent, EnumWinCallBack callBackFunc, IntPtr lParam ) : int
EnumWindowCallBack ( IntPtr hwnd, IntPtr lParam ) : bool
GetOrderedHeaders ( ListView lv ) : System.Windows.Forms.ColumnHeader[]
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
ListGroup_ColumnClick ( object sender, System.Windows.Forms.ColumnClickEventArgs e ) : void

Handles the ListGroup ColumnClick Event

ListGroup_ColumnWidthChanged ( object sender, System.Windows.Forms.ColumnWidthChangedEventArgs e ) : void
OnColumnAdded ( int ColumnIndex ) : void

Raises the ColumnAdded Event when a new column is added to the ColumnHeaders collection.

OnColumnRangeAdded ( ColumnHeader Columns ) : void

Raises the ColumnRangeAdded Event when a range of new columns are added to the ColumnHeaders collection.

OnColumnRemoved ( int ColumnIndex ) : void

Raises the ColumnRemoved Event when a column is remmoved from the ColumnHeaders collection.

OnColumnRightClick ( ColumnHeader header ) : void
OnItemAdded ( System.Windows.Forms.ListViewItem lvi ) : void

Raises the ItemAdded Event when a new item is added to the items collection.

OnItemRangeAdded ( System.Windows.Forms.ListViewItem Items ) : void

Raises the ItemRangeAdded Event when a range of items are added to the items collection.

OnItemRemoved ( System.Windows.Forms.ListViewItem Item ) : void

Raises the ItemRemoved Event when an item is removed from the items collection.

OnItemRemovedAt ( int index, System.Windows.Forms.ListViewItem Item ) : void

Raises the ItemRemovedAt Event when an item is removed from the items collection.

PreferredControlHeight ( ) : int
regularListViewMenu_Opening ( object sender, CancelEventArgs e ) : void

Описание методов

Collapse() публичный Метод

Causes the Displayed list of items to collapse, hiding all items and displaying only the columnheaders.
public Collapse ( ) : void
Результат void

Expand() публичный Метод

Causes the list of items to expand, showing all items in the Items collection.
public Expand ( ) : void
Результат void

ListGroup() публичный Метод

public ListGroup ( ) : System
Результат System

SetControlHeight() публичный Метод

Adjusts the item display area of the control in response to changes in the expanded or collapsed state of the control.
public SetControlHeight ( ) : void
Результат void