C# Class ComponentFactory.Krypton.Ribbon.ApplicationTabToContent

Inheritance: RibbonToContent
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
ApplicationTabToContent ( KryptonRibbon ribbon, PaletteRibbonGeneral ribbonGeneral ) : System

Initialize a new instance of the ApplicationTabToContent class.

GetContentLongTextColor1 ( PaletteState state ) : Color

Gets the first color for the long text.

GetContentLongTextColor2 ( PaletteState state ) : Color

Gets the second color for the long text.

GetContentShortTextColor1 ( PaletteState state ) : Color

Gets the first color for the short text.

GetContentShortTextColor2 ( PaletteState state ) : Color

Gets the second color for the short text.

Method Details

ApplicationTabToContent() public method

Initialize a new instance of the ApplicationTabToContent class.
public ApplicationTabToContent ( KryptonRibbon ribbon, PaletteRibbonGeneral ribbonGeneral ) : System
ribbon KryptonRibbon Reference to owning ribbon control..
ribbonGeneral ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral Source for general ribbon settings.
return System

GetContentLongTextColor1() public method

Gets the first color for the long text.
public GetContentLongTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentLongTextColor2() public method

Gets the second color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextColor1() public method

Gets the first color for the short text.
public GetContentShortTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextColor2() public method

Gets the second color for the short text.
public GetContentShortTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color