C# Class ComponentFactory.Krypton.Ribbon.ButtonSpecExpandRibbon

Implementation for the expand 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
ButtonSpecExpandRibbon ( KryptonRibbon ribbon ) : System

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

ButtonSpecExpandRibbon() public method

Initialize a new instance of the ButtonSpecExpandRibbon class.
public ButtonSpecExpandRibbon ( 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