C# Class GroupedListControl.ListGroup

Inheritance: System.Windows.Forms.ListView
Mostrar archivo Open project: TypecastException/GroupedListControl-Published Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

Collapse() public method

Causes the Displayed list of items to collapse, hiding all items and displaying only the columnheaders.
public Collapse ( ) : void
return void

Expand() public method

Causes the list of items to expand, showing all items in the Items collection.
public Expand ( ) : void
return void

ListGroup() public method

public ListGroup ( ) : System
return System

SetControlHeight() public method

Adjusts the item display area of the control in response to changes in the expanded or collapsed state of the control.
public SetControlHeight ( ) : void
return void