C# Class ComponentFactory.Krypton.Toolkit.ButtonSpecCalendar

Implementation for internal calendar buttons.
Inheritance: ButtonSpec
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
ButtonSpecCalendar ( ViewDrawMonth month, PaletteButtonSpecStyle fixedStyle, RelativeEdgeAlign edge ) : System

Initialize a new instance of the ButtonSpecCalendar class.

GetChecked ( IPalette palette ) : ButtonCheckState

Gets the button checked state.

GetEdge ( IPalette palette ) : RelativeEdgeAlign

Gets the button edge to position against.

GetEnabled ( IPalette palette ) : ButtonEnabled

Gets the button enabled state.

GetVisible ( IPalette palette ) : bool

Gets the button visible value.

Method Details

ButtonSpecCalendar() public method

Initialize a new instance of the ButtonSpecCalendar class.
public ButtonSpecCalendar ( ViewDrawMonth month, PaletteButtonSpecStyle fixedStyle, RelativeEdgeAlign edge ) : System
month ViewDrawMonth Reference to owning view.
fixedStyle PaletteButtonSpecStyle Fixed style to use.
edge RelativeEdgeAlign Alignment edge.
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

GetEdge() public method

Gets the button edge to position against.
public GetEdge ( IPalette palette ) : RelativeEdgeAlign
palette IPalette Palette to use for inheriting values.
return RelativeEdgeAlign

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