BinaryTreeListViewCell
A specialized DataGridViewTextBoxCell object that provides functionality a Tree and List view drawing cell.
public class BinaryTreeListViewCell : DataGridViewTextBoxCell
Inherits from / implements: DataGridViewTextBoxCell
Members at a glance
BinaryTreeListViewCell | Constructs a new instance of BinaryTreeListView class. |
OnKeyDown | Handles a key pressed while this cell has the focus, so that the keyboard can expand and collapse a node as well as the mouse. |
OnLeave | Called as the focus leaves this cell, which is where the node it belongs to drops its transient hover state. |
OnMouseDown | Raises the MouseDown event. BinaryTreeListViewCell overrides it so the control's own handling runs alongside the base behavior. |
OnMouseUp | Raises the MouseUp event. BinaryTreeListViewCell overrides it so the control's own handling runs alongside the base behavior. |
Paint | Paints this cell. The base implementation draws the standard cell; this override adds the parts specific to BinaryTreeListViewCell. |
Constructors
BinaryTreeListViewCell
Constructs a new instance of BinaryTreeListView class.
Methods
OnKeyDown
Handles a key pressed while this cell has the focus, so that the keyboard can expand and collapse a node as well as the mouse.
- e
- The key that was pressed.
- rowIndex
- The row this cell belongs to.
OnLeave
Called as the focus leaves this cell, which is where the node it belongs to drops its transient hover state.
- rowIndex
- The row this cell belongs to.
- throughMouseClick
- true when the focus moved because of a click.
OnMouseDown
Raises the MouseDown event. BinaryTreeListViewCell overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseUp
Raises the MouseUp event. BinaryTreeListViewCell overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
Paint
Paints this cell. The base implementation draws the standard cell; this override adds the parts specific to BinaryTreeListViewCell.