C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectTreeView

Redirects requests for tree view images from the TreeViewImages instance.
Inheritance: PaletteRedirect
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetCheckBoxImage ( bool enabled, CheckState checkState, bool tracking, bool pressed ) : Image

Gets a check box image appropriate for the provided state.

GetTreeViewImage ( bool expanded ) : Image

Gets a tree view image appropriate for the provided state.

PaletteRedirectTreeView ( IPalette target, TreeViewImages plusMinusImages, CheckBoxImages checkboxImages ) : System

Initialize a new instance of the PaletteRedirectTreeView class.

PaletteRedirectTreeView ( TreeViewImages plusMinusImages, CheckBoxImages checkboxImages ) : System

Initialize a new instance of the PaletteRedirectTreeView class.

Method Details

GetCheckBoxImage() public method

Gets a check box image appropriate for the provided state.
public GetCheckBoxImage ( bool enabled, CheckState checkState, bool tracking, bool pressed ) : Image
enabled bool Is the check box enabled.
checkState CheckState Is the check box checked/unchecked/indeterminate.
tracking bool Is the check box being hot tracked.
pressed bool Is the check box being pressed.
return Image

GetTreeViewImage() public method

Gets a tree view image appropriate for the provided state.
public GetTreeViewImage ( bool expanded ) : Image
expanded bool Is the node expanded
return Image

PaletteRedirectTreeView() public method

Initialize a new instance of the PaletteRedirectTreeView class.
public PaletteRedirectTreeView ( IPalette target, TreeViewImages plusMinusImages, CheckBoxImages checkboxImages ) : System
target IPalette Initial palette target for redirection.
plusMinusImages TreeViewImages Reference to source of tree view images.
checkboxImages CheckBoxImages Reference to source of check box images.
return System

PaletteRedirectTreeView() public method

Initialize a new instance of the PaletteRedirectTreeView class.
public PaletteRedirectTreeView ( TreeViewImages plusMinusImages, CheckBoxImages checkboxImages ) : System
plusMinusImages TreeViewImages Reference to source of tree view images.
checkboxImages CheckBoxImages Reference to source of check box images.
return System