C# Class System.Windows.Forms.TreeNode

Inheritance: System.MarshalByRefObject, ICloneable, ISerializable
Show file Open project: Meragon/Unity-WinForms Class Usage Examples

Public Properties

Property Type Description
DEFAULT_FORE_COLOR Color

Public Methods

Method Description
Collapse ( ) : void
EnsureVisible ( ) : void
Expand ( ) : void
ExpandAll ( ) : void
Remove ( ) : void
ToString ( ) : string
Toggle ( ) : void
TreeNode ( string text ) : System
TreeNode ( string text, TreeNode children ) : System

Private Methods

Method Description
CollapseInternal ( ) : void
ExpandAllInternal ( ) : void
GetXIndex ( ) : int
GetYIndex ( ) : int
Remove ( bool notify ) : void
TreeNode ( TreeView treeView ) : System
_GetVisibleNodesAmount ( TreeNode node, int currentAmount ) : int
_GetXIndex ( TreeNode currentNode, int currentX ) : int
_GetYIndex ( TreeNode currentNode, int currentY ) : int

Method Details

Collapse() public method

public Collapse ( ) : void
return void

EnsureVisible() public method

public EnsureVisible ( ) : void
return void

Expand() public method

public Expand ( ) : void
return void

ExpandAll() public method

public ExpandAll ( ) : void
return void

Remove() public method

public Remove ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Toggle() public method

public Toggle ( ) : void
return void

TreeNode() public method

public TreeNode ( string text ) : System
text string
return System

TreeNode() public method

public TreeNode ( string text, TreeNode children ) : System
text string
children TreeNode
return System

Property Details

DEFAULT_FORE_COLOR public static property

public static Color DEFAULT_FORE_COLOR
return Color