C# Class ComponentFactory.Krypton.Ribbon.DesignTextToContent

Inheritance: RibbonToContent
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Initialize a new instance of the DesignTextToContent class.
public DesignTextToContent ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Reference to the owning ribbon control.
Résultat System

GetContentLongTextColor1() public méthode

Gets the first back color for the long text.
public GetContentLongTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentLongTextColor2() public méthode

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentLongTextTrim() public méthode

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

GetContentShortTextColor1() public méthode

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentShortTextColor2() public méthode

Gets the second back color for the short text.
public GetContentShortTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentShortTextH() public méthode

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

GetContentShortTextTrim() public méthode

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