C# Class System.Windows.Forms.TreeView

Inheritance: Control
Show file Open project: Meragon/Unity-WinForms Class Usage Examples

Protected Properties

Property Type Description
scrollIndex float
scrollNodeList List

Public Methods

Method Description
CollapseAll ( ) : void
Dispose ( ) : void
ExpandAll ( ) : void
Find ( Predicate match ) : TreeNode
Refresh ( ) : void
TreeView ( ) : System

Protected Methods

Method Description
OnDrawNode ( DrawTreeNodeEventArgs e ) : void
OnKeyPress ( KeyEventArgs e ) : void
OnMouseDoubleClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseHover ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintEditor ( float width ) : object
ProccesNode ( TreeNode node ) : void
SelectNodeWText ( string text, bool caseSencitive = false ) : void

Private Methods

Method Description
EnsureVisible ( TreeNode node ) : void
TreeView_Resize ( object sender, EventArgs e ) : void
_AddjustScrollIndexToSelectedNode ( ) : void
_Application_UpClick ( object sender, MouseEventArgs e ) : void
_FixScrollIndex ( ) : void
_GetNodeAtPosition ( TreeNode rootNode, Point position ) : TreeNode
_GetNodeBounds ( TreeNode node ) : Rectangle
_OnDrawNode ( object sender, DrawTreeNodeEventArgs e ) : void
_SelectAtPosition ( MouseEventArgs e ) : TreeNode
_SelectNext ( int fromIndex ) : bool
_SelectNext ( ) : void
_SelectNode ( TreeNode node ) : void
_SelectPrevious ( int fromIndex ) : bool
_SelectPrevious ( ) : void
_UpdateScrollList ( ) : void

Method Details

CollapseAll() public method

public CollapseAll ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

ExpandAll() public method

public ExpandAll ( ) : void
return void

Find() public method

public Find ( Predicate match ) : TreeNode
match Predicate
return TreeNode

OnDrawNode() protected method

protected OnDrawNode ( DrawTreeNodeEventArgs e ) : void
e DrawTreeNodeEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseHover() protected method

protected OnMouseHover ( EventArgs e ) : void
e EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintEditor() protected method

protected OnPaintEditor ( float width ) : object
width float
return object

ProccesNode() protected method

protected ProccesNode ( TreeNode node ) : void
node TreeNode
return void

Refresh() public method

public Refresh ( ) : void
return void

SelectNodeWText() protected method

protected SelectNodeWText ( string text, bool caseSencitive = false ) : void
text string
caseSencitive bool
return void

TreeView() public method

public TreeView ( ) : System
return System

Property Details

scrollIndex protected property

protected float scrollIndex
return float

scrollNodeList protected property

protected List scrollNodeList
return List