C# Class ComponentFactory.Krypton.Toolkit.PaletteContentInherit

Provide inheritance of palette content properties.
Inheritance: GlobalId, IPaletteContent
Mostra file Open project: ComponentFactory/Krypton

Public Methods

Method Description
GetContentAdjacentGap ( PaletteState state ) : int

Gets the padding between adjacent content items.

GetContentDraw ( PaletteState state ) : InheritBool

Gets a value indicating if content should be drawn.

GetContentDrawFocus ( PaletteState state ) : InheritBool

Gets a value indicating if content should be drawn with focus indication.

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 effect applied to drawing of the image.

GetContentImageH ( PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the image.

GetContentImageV ( PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the image.

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.

GetContentLongTextColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the long text.

GetContentLongTextColorAngle ( PaletteState state ) : float

Gets the color background angle for the long text.

GetContentLongTextColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the long text.

GetContentLongTextFont ( PaletteState state ) : Font

Gets the font for the long text.

GetContentLongTextH ( PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the long text.

GetContentLongTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint for the long text.

GetContentLongTextImage ( PaletteState state ) : Image

Gets a background image for the long text.

GetContentLongTextImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the long text.

GetContentLongTextImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the background 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 vertical relative alignment of the long text.

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

GetContentLongTextV ( PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the long text.

GetContentPadding ( PaletteState state ) : Padding

Gets the padding between the border and content drawing.

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.

GetContentShortTextColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the short text.

GetContentShortTextColorAngle ( PaletteState state ) : float

Gets the color background angle for the short text.

GetContentShortTextColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style 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.

GetContentShortTextImage ( PaletteState state ) : Image

Gets a background image for the short text.

GetContentShortTextImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the short text.

GetContentShortTextImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the background image style.

GetContentShortTextMultiLine ( PaletteState state ) : InheritBool

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

GetContentShortTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the short text.

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

GetContentShortTextV ( PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the short text.

GetContentStyle ( ) : PaletteContentStyle

Gets the style appropriate for this content.

Method Details

GetContentAdjacentGap() public abstract method

Gets the padding between adjacent content items.
public abstract GetContentAdjacentGap ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
return int

GetContentDraw() public abstract method

Gets a value indicating if content should be drawn.
public abstract GetContentDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool

GetContentDrawFocus() public abstract method

Gets a value indicating if content should be drawn with focus indication.
public abstract GetContentDrawFocus ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool

GetContentImageColorMap() public abstract method

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

GetContentImageColorTo() public abstract method

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

GetContentImageEffect() public abstract method

Gets the effect applied to drawing of the image.
public abstract GetContentImageEffect ( PaletteState state ) : PaletteImageEffect
state PaletteState Palette value should be applicable to this state.
return PaletteImageEffect

GetContentImageH() public abstract method

Gets the horizontal relative alignment of the image.
public abstract GetContentImageH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

GetContentImageV() public abstract method

Gets the vertical relative alignment of the image.
public abstract GetContentImageV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

GetContentLongTextColor1() public abstract method

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

GetContentLongTextColor2() public abstract method

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

GetContentLongTextColorAlign() public abstract method

Gets the color alignment for the long text.
public abstract GetContentLongTextColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetContentLongTextColorAngle() public abstract method

Gets the color background angle for the long text.
public abstract GetContentLongTextColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
return float

GetContentLongTextColorStyle() public abstract method

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

GetContentLongTextFont() public abstract method

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

GetContentLongTextH() public abstract method

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

GetContentLongTextHint() public abstract method

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

GetContentLongTextImage() public abstract method

Gets a background image for the long text.
public abstract GetContentLongTextImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
return Image

GetContentLongTextImageAlign() public abstract method

Gets the image alignment for the long text.
public abstract GetContentLongTextImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetContentLongTextImageStyle() public abstract method

Gets the background image style for the long text.
public abstract GetContentLongTextImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

GetContentLongTextMultiLine() public abstract method

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

GetContentLongTextMultiLineH() public abstract method

Gets the vertical relative alignment of the long text.
public abstract GetContentLongTextMultiLineH ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

GetContentLongTextNewFont() public abstract method

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

GetContentLongTextPrefix() public abstract method

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

GetContentLongTextTrim() public abstract method

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

GetContentLongTextV() public abstract method

Gets the vertical relative alignment of the long text.
public abstract GetContentLongTextV ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRelativeAlign

GetContentPadding() public abstract method

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

GetContentShortTextColor1() public abstract method

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

GetContentShortTextColor2() public abstract method

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

GetContentShortTextColorAlign() public abstract method

Gets the color alignment for the short text.
public abstract GetContentShortTextColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetContentShortTextColorAngle() public abstract method

Gets the color background angle for the short text.
public abstract GetContentShortTextColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
return float

GetContentShortTextColorStyle() public abstract method

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

GetContentShortTextFont() public abstract method

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

GetContentShortTextH() public abstract method

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

GetContentShortTextHint() public abstract method

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

GetContentShortTextImage() public abstract method

Gets a background image for the short text.
public abstract GetContentShortTextImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
return Image

GetContentShortTextImageAlign() public abstract method

Gets the image alignment for the short text.
public abstract GetContentShortTextImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetContentShortTextImageStyle() public abstract method

Gets the background image style.
public abstract GetContentShortTextImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

GetContentShortTextMultiLine() public abstract method

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

GetContentShortTextMultiLineH() public abstract method

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

GetContentShortTextNewFont() public abstract method

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

GetContentShortTextPrefix() public abstract method

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

GetContentShortTextTrim() public abstract method

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

GetContentShortTextV() public abstract method

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

GetContentStyle() public abstract method

Gets the style appropriate for this content.
public abstract GetContentStyle ( ) : PaletteContentStyle
return PaletteContentStyle