C# Class ComponentFactory.Krypton.Ribbon.RibbonGroupLabelTextToContent

Inheritance: RibbonToContent
Datei anzeigen Open project: ComponentFactory/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.

RibbonGroupLabelTextToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonGroupTextNormal, IPaletteRibbonText ribbonGroupTextDisabled, IPaletteRibbonText ribbonLabelTextNormal, IPaletteRibbonText ribbonLabelTextDisabled ) : System

Initialize a new instance of the RibbonGroupLabelTextToContent class.

Private Methods

Method Description
GetTextColor ( PaletteState state ) : Color

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

RibbonGroupLabelTextToContent() public method

Initialize a new instance of the RibbonGroupLabelTextToContent class.
public RibbonGroupLabelTextToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonGroupTextNormal, IPaletteRibbonText ribbonGroupTextDisabled, IPaletteRibbonText ribbonLabelTextNormal, IPaletteRibbonText ribbonLabelTextDisabled ) : System
ribbonGeneral ComponentFactory.Krypton.Toolkit.PaletteRibbonGeneral Source for general ribbon settings.
ribbonGroupTextNormal IPaletteRibbonText Source for ribbon group button normal settings.
ribbonGroupTextDisabled IPaletteRibbonText Source for ribbon group button disabled settings.
ribbonLabelTextNormal IPaletteRibbonText Source for ribbon group label normal settings.
ribbonLabelTextDisabled IPaletteRibbonText Source for ribbon group label disabled settings.
return System