C# Class ComponentFactory.Krypton.Toolkit.KryptonTreeNode

Inheritance: System.Windows.Forms.TreeNode
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
Init void
ShouldSerializeLongForeColor bool
ShouldSerializeLongNodeFont bool
ShouldSerializeLongText bool

Public Methods

Method Description
KryptonTreeNode ( ) : System

Initialize a new instance of the KryptonTreeNode class.

KryptonTreeNode ( string text ) : System

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text.

KryptonTreeNode ( string text, TreeNode children ) : System

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text and child tree nodes.

KryptonTreeNode ( string text, int imageIndex, int selectedImageIndex ) : System

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text and images to display when the tree node is in a selected and unselected state.

KryptonTreeNode ( string text, int imageIndex, int selectedImageIndex, TreeNode children ) : System

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.

Protected Methods

Method Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Private Methods

Method Description
Init ( ) : void
ShouldSerializeLongForeColor ( ) : bool
ShouldSerializeLongNodeFont ( ) : bool
ShouldSerializeLongText ( ) : bool

Method Details

KryptonTreeNode() public method

Initialize a new instance of the KryptonTreeNode class.
public KryptonTreeNode ( ) : System
return System

KryptonTreeNode() public method

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text.
public KryptonTreeNode ( string text ) : System
text string The label System.Windows.Forms.TreeNode.Text of the new tree node.
return System

KryptonTreeNode() public method

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text and child tree nodes.
public KryptonTreeNode ( string text, TreeNode children ) : System
text string The label System.Windows.Forms.TreeNode.Text of the new tree node.
children System.Windows.Forms.TreeNode An array of child System.Windows.Forms.TreeNode objects.
return System

KryptonTreeNode() public method

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text and images to display when the tree node is in a selected and unselected state.
public KryptonTreeNode ( string text, int imageIndex, int selectedImageIndex ) : System
text string The label System.Windows.Forms.TreeNode.Text of the new tree node.
imageIndex int The index value of System.Drawing.Image to display when the tree node is unselected.
selectedImageIndex int The index value of System.Drawing.Image to display when the tree node is selected.
return System

KryptonTreeNode() public method

Initializes a new instance of the System.Windows.Forms.TreeNode class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.
public KryptonTreeNode ( string text, int imageIndex, int selectedImageIndex, TreeNode children ) : System
text string The label System.Windows.Forms.TreeNode.Text of the new tree node.
imageIndex int The index value of System.Drawing.Image to display when the tree node is unselected.
selectedImageIndex int The index value of System.Drawing.Image to display when the tree node is selected.
children System.Windows.Forms.TreeNode An array of child System.Windows.Forms.TreeNode objects.
return System

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
return void