C# Class ComponentFactory.Krypton.Ribbon.RibbonGroupTextToContent

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

Public Methods

Method Description
GetContentLongTextColor1 ( PaletteState state ) : Color

Gets the first back color for the long text.

GetContentLongTextColor2 ( PaletteState state ) : Color

Gets the second back color for the long text.

GetContentShortTextColor1 ( PaletteState state ) : Color

Gets the first back color for the short text.

GetContentShortTextColor2 ( PaletteState state ) : Color

Gets the second back color for the short text.

RibbonGroupTextToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonGroupText ) : System

Initialize a new instance of the RibbonGroupTextToContent class.

Method Details

GetContentLongTextColor1() public method

Gets the first back 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 back 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 back 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 back color for the short text.
public GetContentShortTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

RibbonGroupTextToContent() public method

Initialize a new instance of the RibbonGroupTextToContent class.
public RibbonGroupTextToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonGroupText ) : System
ribbonGeneral ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral Source for general ribbon settings.
ribbonGroupText IPaletteRibbonText Source for ribbon group settings.
return System