C# Class ComponentFactory.Krypton.Ribbon.RibbonTabToContent

Inheritance: RibbonToContent
Show file 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.

GetContentLongTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for 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.

GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the short text.

GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for short text.

RibbonTabToContent ( PaletteRibbonGeneral ribbonGeneral, IPaletteRibbonText ribbonTabText ) : System

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

GetContentLongTextTrim() public method

Gets the text trimming to use for long text.
public GetContentLongTextTrim ( PaletteState state ) : PaletteTextTrim
state PaletteState Palette value should be applicable to this state.
return PaletteTextTrim

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

GetContentShortTextH() public method

Gets the horizontal relative alignment of the short text.
public GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

GetContentShortTextTrim() public method

Gets the text trimming to use for short text.
public GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim
state PaletteState Palette value should be applicable to this state.
return PaletteTextTrim

RibbonTabToContent() public method

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