C# Class ComponentFactory.Krypton.Ribbon.DesignTextToContent

Inheritance: RibbonToContent
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
DesignTextToContent ( KryptonRibbon ribbon ) : System

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

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.

Method Details

DesignTextToContent() public method

Initialize a new instance of the DesignTextToContent class.
public DesignTextToContent ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Reference to the owning ribbon control.
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

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