C# Class ComponentFactory.Krypton.Ribbon.ButtonSpecMinimizeRibbon

Implementation for the minimize ribbon button.
Inheritance: ComponentFactory.Krypton.Toolkit.ButtonSpec
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ButtonSpecMinimizeRibbon ( KryptonRibbon ribbon ) : System

Initialize a new instance of the ButtonSpecMinimizeRibbon class.

GetChecked ( IPalette palette ) : ButtonCheckState

Gets the button checked state.

GetEnabled ( IPalette palette ) : ButtonEnabled

Gets the button enabled state.

GetStyle ( IPalette palette ) : ButtonStyle

Gets the button style.

GetVisible ( IPalette palette ) : bool

Gets the button visible value.

Protected Methods

Method Description
OnClick ( EventArgs e ) : void

Raises the Click event.

Method Details

ButtonSpecMinimizeRibbon() public method

Initialize a new instance of the ButtonSpecMinimizeRibbon class.
public ButtonSpecMinimizeRibbon ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
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

GetStyle() public method

Gets the button style.
public GetStyle ( IPalette palette ) : ButtonStyle
palette IPalette Palette to use for inheriting values.
return ButtonStyle

GetVisible() public method

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

OnClick() protected method

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void