C# Class ComponentFactory.Krypton.Ribbon.ContextToContent

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

Public Methods

Method Description
ContextToContent ( PaletteRibbonGeneral ribbonGeneral ) : System

Initialize a new instance of the ContextToContent class.

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.

GetContentLongTextFont ( PaletteState state ) : Font

Gets the font for the long text.

GetContentLongTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint 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.

GetContentShortTextFont ( PaletteState state ) : Font

Gets the font for the short text.

GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the short text.

GetContentShortTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint for the short text.

GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for short text.

Method Details

ContextToContent() public method

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

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

GetContentLongTextFont() public method

Gets the font for the long text.
public GetContentLongTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
return System.Drawing.Font

GetContentLongTextHint() public method

Gets the rendering hint for the long text.
public GetContentLongTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
return PaletteTextHint

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

GetContentShortTextFont() public method

Gets the font for the short text.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
return System.Drawing.Font

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

GetContentShortTextHint() public method

Gets the rendering hint for the short text.
public GetContentShortTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
return PaletteTextHint

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