C# Class ComponentFactory.Krypton.Navigator.ButtonSpecNavContext

Implementation for the fixed context button for navigator.
Inheritance: ButtonSpecNavFixed
Show file Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
ButtonSpecNavContext ( KryptonNavigator navigator ) : System

Initialize a new instance of the ButtonSpecNavContext class.

GetChecked ( IPalette palette ) : ButtonCheckState

Gets the button checked state.

GetEnabled ( IPalette palette ) : ButtonEnabled

Gets the button enabled state.

GetVisible ( IPalette palette ) : bool

Gets the button visible value.

Method Details

ButtonSpecNavContext() public method

Initialize a new instance of the ButtonSpecNavContext class.
public ButtonSpecNavContext ( KryptonNavigator navigator ) : System
navigator KryptonNavigator Reference to owning navigator instance.
return System

GetChecked() public method

Gets the button checked state.
public GetChecked ( IPalette palette ) : ButtonCheckState
palette IPalette Palette to use for inheriting values.
return ButtonCheckState

GetEnabled() public method

Gets the button enabled state.
public GetEnabled ( IPalette palette ) : ButtonEnabled
palette IPalette Palette to use for inheriting values.
return ButtonEnabled

GetVisible() public method

Gets the button visible value.
public GetVisible ( IPalette palette ) : bool
palette IPalette Palette to use for inheriting values.
return bool