C# Class ComponentFactory.Krypton.Toolkit.PaletteContentToPalette

Redirect all content requests directly to the palette instance.
Inheritance: IPaletteContent
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
GetContentAdjacentGap ( PaletteState state ) : int

Gets the actual padding between adjacent content items.

GetContentDraw ( PaletteState state ) : InheritBool

Gets the actual content draw value.

GetContentDrawFocus ( PaletteState state ) : InheritBool

Gets the actual content draw with focus value.

GetContentImageColorMap ( PaletteState state ) : Color

Gets the image color to remap into another color.

GetContentImageColorTo ( PaletteState state ) : Color

Gets the color to use in place of the image map color.

GetContentImageEffect ( PaletteState state ) : PaletteImageEffect

Gets the actual image drawing effect value.

GetContentImageH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content image horizontal alignment value.

GetContentImageV ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content image vertical alignment value.

GetContentLongTextColor1 ( PaletteState state ) : Color

Gets the first color for the long text.

GetContentLongTextColor2 ( PaletteState state ) : Color

Gets the second back color for the long text.

GetContentLongTextColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style for the long text.

GetContentLongTextColorAngle ( PaletteState state ) : float

Gets the color angle for the long text.

GetContentLongTextColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the long text.

GetContentLongTextFont ( PaletteState state ) : Font

Gets the actual content long text font value.

GetContentLongTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content long text horizontal alignment value.

GetContentLongTextHint ( PaletteState state ) : PaletteTextHint

Gets the actual text rendering hint for long text.

GetContentLongTextImage ( PaletteState state ) : Image

Gets an image for the long text.

GetContentLongTextImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style for the long text.

GetContentLongTextImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the image style for the long text.

GetContentLongTextMultiLine ( PaletteState state ) : InheritBool

Gets the flag indicating if multiline text is allowed for long text.

GetContentLongTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content long text horizontal multiline alignment value.

GetContentLongTextNewFont ( PaletteState state ) : Font

Gets the font for the long text by generating a new font instance.

GetContentLongTextPrefix ( PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for long text.

GetContentLongTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the actual text trimming for the long text.

GetContentLongTextV ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content long text vertical alignment value.

GetContentPadding ( PaletteState state ) : Padding

Gets the actual padding between the border and content drawing.

GetContentShortTextColor1 ( PaletteState state ) : Color

Gets the first color for the short text.

GetContentShortTextColor2 ( PaletteState state ) : Color

Gets the second back color for the short text.

GetContentShortTextColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style for the short text.

GetContentShortTextColorAngle ( PaletteState state ) : float

Gets the color angle for the short text.

GetContentShortTextColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the short text.

GetContentShortTextFont ( PaletteState state ) : Font

Gets the actual content short text font value.

GetContentShortTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content short text horizontal alignment value.

GetContentShortTextHint ( PaletteState state ) : PaletteTextHint

Gets the actual text rendering hint for short text.

GetContentShortTextImage ( PaletteState state ) : Image

Gets an image for the short text.

GetContentShortTextImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style for the short text.

GetContentShortTextImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the image style for the short text.

GetContentShortTextMultiLine ( PaletteState state ) : InheritBool

Gets the flag indicating if multiline text is allowed for short text.

GetContentShortTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content short text horizontal multiline alignment value.

GetContentShortTextNewFont ( PaletteState state ) : Font

Gets the font for the short text by generating a new font instance.

GetContentShortTextPrefix ( PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for short text.

GetContentShortTextTrim ( PaletteState state ) : PaletteTextTrim

Gets the actual text trimming for the short text.

GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign

Gets the actual content short text vertical alignment value.

GetContentStyle ( ) : PaletteContentStyle

Gets the style appropriate for this content.

PaletteContentToPalette ( IPalette palette, PaletteContentStyle style ) : System

Initialize a new instance of the PaletteContentToPalette class.

Method Details

GetContentAdjacentGap() public méthode

Gets the actual padding between adjacent content items.
public GetContentAdjacentGap ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
Résultat int

GetContentDraw() public méthode

Gets the actual content draw value.
public GetContentDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentDrawFocus() public méthode

Gets the actual content draw with focus value.
public GetContentDrawFocus ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentImageColorMap() public méthode

Gets the image color to remap into another color.
public GetContentImageColorMap ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentImageColorTo() public méthode

Gets the color to use in place of the image map color.
public GetContentImageColorTo ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentImageEffect() public méthode

Gets the actual image drawing effect value.
public GetContentImageEffect ( PaletteState state ) : PaletteImageEffect
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageEffect

GetContentImageH() public méthode

Gets the actual content image horizontal alignment value.
public GetContentImageH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentImageV() public méthode

Gets the actual content image vertical alignment value.
public GetContentImageV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextColor1() public méthode

Gets the first 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

GetContentLongTextColorAlign() public méthode

Gets the color alignment style for the long text.
public GetContentLongTextColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentLongTextColorAngle() public méthode

Gets the color angle for the long text.
public GetContentLongTextColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
Résultat float

GetContentLongTextColorStyle() public méthode

Gets the color drawing style for the long text.
public GetContentLongTextColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetContentLongTextFont() public méthode

Gets the actual content long text font value.
public GetContentLongTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentLongTextH() public méthode

Gets the actual content long text horizontal alignment value.
public GetContentLongTextH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextHint() public méthode

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

GetContentLongTextImage() public méthode

Gets an image for the long text.
public GetContentLongTextImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetContentLongTextImageAlign() public méthode

Gets the image alignment style for the long text.
public GetContentLongTextImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentLongTextImageStyle() public méthode

Gets the image style for the long text.
public GetContentLongTextImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetContentLongTextMultiLine() public méthode

Gets the flag indicating if multiline text is allowed for long text.
public GetContentLongTextMultiLine ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentLongTextMultiLineH() public méthode

Gets the actual content long text horizontal multiline alignment value.
public GetContentLongTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextNewFont() public méthode

Gets the font for the long text by generating a new font instance.
public GetContentLongTextNewFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentLongTextPrefix() public méthode

Gets the prefix drawing setting for long text.
public GetContentLongTextPrefix ( PaletteState state ) : PaletteTextHotkeyPrefix
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHotkeyPrefix

GetContentLongTextTrim() public méthode

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

GetContentLongTextV() public méthode

Gets the actual content long text vertical alignment value.
public GetContentLongTextV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentPadding() public méthode

Gets the actual padding between the border and content drawing.
public GetContentPadding ( PaletteState state ) : Padding
state PaletteState Palette value should be applicable to this state.
Résultat Padding

GetContentShortTextColor1() public méthode

Gets the first 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

GetContentShortTextColorAlign() public méthode

Gets the color alignment style for the short text.
public GetContentShortTextColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentShortTextColorAngle() public méthode

Gets the color angle for the short text.
public GetContentShortTextColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
Résultat float

GetContentShortTextColorStyle() public méthode

Gets the color drawing style for the short text.
public GetContentShortTextColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetContentShortTextFont() public méthode

Gets the actual content short text font value.
public GetContentShortTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentShortTextH() public méthode

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

GetContentShortTextHint() public méthode

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

GetContentShortTextImage() public méthode

Gets an image for the short text.
public GetContentShortTextImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetContentShortTextImageAlign() public méthode

Gets the image alignment style for the short text.
public GetContentShortTextImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentShortTextImageStyle() public méthode

Gets the image style for the short text.
public GetContentShortTextImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetContentShortTextMultiLine() public méthode

Gets the flag indicating if multiline text is allowed for short text.
public GetContentShortTextMultiLine ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentShortTextMultiLineH() public méthode

Gets the actual content short text horizontal multiline alignment value.
public GetContentShortTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentShortTextNewFont() public méthode

Gets the font for the short text by generating a new font instance.
public GetContentShortTextNewFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentShortTextPrefix() public méthode

Gets the prefix drawing setting for short text.
public GetContentShortTextPrefix ( PaletteState state ) : PaletteTextHotkeyPrefix
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHotkeyPrefix

GetContentShortTextTrim() public méthode

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

GetContentShortTextV() public méthode

Gets the actual content short text vertical alignment value.
public GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentStyle() public méthode

Gets the style appropriate for this content.
public GetContentStyle ( ) : PaletteContentStyle
Résultat PaletteContentStyle

PaletteContentToPalette() public méthode

Initialize a new instance of the PaletteContentToPalette class.
public PaletteContentToPalette ( IPalette palette, PaletteContentStyle style ) : System
palette IPalette Source for getting all values.
style PaletteContentStyle Style of values required.
Résultat System