C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectCheckBox

Redirects requests for check box images from the CheckBoxImages instance.
Inheritance: PaletteRedirect
Datei anzeigen 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.

PaletteRedirectCheckBox ( CheckBoxImages images ) : System

Initialize a new instance of the PaletteRedirectCheckBox class.

PaletteRedirectCheckBox ( IPalette target, CheckBoxImages images ) : System

Initialize a new instance of the PaletteRedirectCheckBox 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

PaletteRedirectCheckBox() public method

Initialize a new instance of the PaletteRedirectCheckBox class.
public PaletteRedirectCheckBox ( CheckBoxImages images ) : System
images CheckBoxImages Reference to source of check box images.
return System

PaletteRedirectCheckBox() public method

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