C# 클래스 ComponentFactory.Krypton.Toolkit.PaletteContentInheritOverride

Inherit properties from primary source in preference to the backup source.
상속: PaletteContentInherit
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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.

PaletteContentInheritOverride ( IPaletteContent primary, IPaletteContent backup ) : System

Initialize a new instance of the PaletteContentInheritOverride class.

PaletteContentInheritOverride ( IPaletteContent primary, IPaletteContent backup, PaletteState overrideState, bool apply ) : System

Initialize a new instance of the PaletteContentInheritOverride class.

SetPalettes ( IPaletteContent primary, IPaletteContent backup ) : void

Update the the primary and backup palettes.

메소드 상세

GetContentAdjacentGap() 공개 메소드

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

GetContentDraw() 공개 메소드

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

GetContentDrawFocus() 공개 메소드

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

GetContentImageColorMap() 공개 메소드

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

GetContentImageColorTo() 공개 메소드

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.
리턴 Color

GetContentImageEffect() 공개 메소드

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

GetContentImageH() 공개 메소드

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

GetContentImageV() 공개 메소드

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

GetContentLongTextColor1() 공개 메소드

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

GetContentLongTextColor2() 공개 메소드

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

GetContentLongTextColorAlign() 공개 메소드

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

GetContentLongTextColorAngle() 공개 메소드

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

GetContentLongTextColorStyle() 공개 메소드

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

GetContentLongTextFont() 공개 메소드

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

GetContentLongTextH() 공개 메소드

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

GetContentLongTextHint() 공개 메소드

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

GetContentLongTextImage() 공개 메소드

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

GetContentLongTextImageAlign() 공개 메소드

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

GetContentLongTextImageStyle() 공개 메소드

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

GetContentLongTextMultiLine() 공개 메소드

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.
리턴 InheritBool

GetContentLongTextMultiLineH() 공개 메소드

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

GetContentLongTextNewFont() 공개 메소드

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.
리턴 System.Drawing.Font

GetContentLongTextPrefix() 공개 메소드

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

GetContentLongTextTrim() 공개 메소드

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

GetContentLongTextV() 공개 메소드

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

GetContentPadding() 공개 메소드

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

GetContentShortTextColor1() 공개 메소드

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

GetContentShortTextColor2() 공개 메소드

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

GetContentShortTextColorAlign() 공개 메소드

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

GetContentShortTextColorAngle() 공개 메소드

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

GetContentShortTextColorStyle() 공개 메소드

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

GetContentShortTextFont() 공개 메소드

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

GetContentShortTextH() 공개 메소드

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

GetContentShortTextHint() 공개 메소드

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

GetContentShortTextImage() 공개 메소드

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

GetContentShortTextImageAlign() 공개 메소드

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

GetContentShortTextImageStyle() 공개 메소드

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

GetContentShortTextMultiLine() 공개 메소드

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.
리턴 InheritBool

GetContentShortTextMultiLineH() 공개 메소드

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

GetContentShortTextNewFont() 공개 메소드

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.
리턴 System.Drawing.Font

GetContentShortTextPrefix() 공개 메소드

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

GetContentShortTextTrim() 공개 메소드

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

GetContentShortTextV() 공개 메소드

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

GetContentStyle() 공개 메소드

Gets the style appropriate for this content.
public GetContentStyle ( ) : PaletteContentStyle
리턴 PaletteContentStyle

PaletteContentInheritOverride() 공개 메소드

Initialize a new instance of the PaletteContentInheritOverride class.
public PaletteContentInheritOverride ( IPaletteContent primary, IPaletteContent backup ) : System
primary IPaletteContent First choice inheritence.
backup IPaletteContent Backup inheritence.
리턴 System

PaletteContentInheritOverride() 공개 메소드

Initialize a new instance of the PaletteContentInheritOverride class.
public PaletteContentInheritOverride ( IPaletteContent primary, IPaletteContent backup, PaletteState overrideState, bool apply ) : System
primary IPaletteContent First choice inheritence.
backup IPaletteContent Backup inheritence.
overrideState PaletteState State used by the override.
apply bool Should the override we used.
리턴 System

SetPalettes() 공개 메소드

Update the the primary and backup palettes.
public SetPalettes ( IPaletteContent primary, IPaletteContent backup ) : void
primary IPaletteContent New primary palette.
backup IPaletteContent New backup palette.
리턴 void