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

Redirect content based on the incoming state of the request.
상속: PaletteRedirect
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetContentAdjacentGap ( PaletteContentStyle style, PaletteState state ) : int

Gets the padding between adjacent content items.

GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool

Gets a value indicating if content should be drawn.

GetContentDrawFocus ( PaletteContentStyle style, PaletteState state ) : InheritBool

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

GetContentImageEffect ( PaletteContentStyle style, PaletteState state ) : PaletteImageEffect

Gets the effect applied to drawing of the image.

GetContentImageH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the image.

GetContentImageV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the image.

GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the long text.

GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the long text.

GetContentLongTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the long text.

GetContentLongTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the long text.

GetContentLongTextFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the long text.

GetContentLongTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the long text.

GetContentLongTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint

Gets the rendering hint for the long text.

GetContentLongTextImage ( PaletteContentStyle style, PaletteState state ) : Image

Gets a background image for the long text.

GetContentLongTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the long text.

GetContentLongTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style for the long text.

GetContentLongTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool

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

GetContentLongTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of multiline long text.

GetContentLongTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for long text.

GetContentLongTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for long text.

GetContentLongTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the long text.

GetContentPadding ( PaletteContentStyle style, PaletteState state ) : Padding

Gets the padding between the border and content drawing.

GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the short text.

GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the short text.

GetContentShortTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the short text.

GetContentShortTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float

Gets the color background angle for the short text.

GetContentShortTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the short text.

GetContentShortTextFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the short text.

GetContentShortTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the short text.

GetContentShortTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint

Gets the rendering hint for the short text.

GetContentShortTextImage ( PaletteContentStyle style, PaletteState state ) : Image

Gets a background image for the short text.

GetContentShortTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the short text.

GetContentShortTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style.

GetContentShortTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool

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

GetContentShortTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of multiline short text.

GetContentShortTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for short text.

GetContentShortTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for short text.

GetContentShortTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the short text.

PaletteRedirectContent ( ) : System

Initialize a new instance of the PaletteRedirectContent class.

PaletteRedirectContent ( IPalette target, IPaletteContent disabled, IPaletteContent normal ) : System

Initialize a new instance of the PaletteRedirectContent class.

PaletteRedirectContent ( IPalette target, IPaletteContent disabled, IPaletteContent normal, IPaletteContent pressed, IPaletteContent tracking, IPaletteContent checkedNormal, IPaletteContent checkedPressed, IPaletteContent checkedTracking, IPaletteContent focusOverride, IPaletteContent normalDefaultOverride, IPaletteContent linkVisitedOverride, IPaletteContent linkNotVisitedOverride, IPaletteContent linkPressedOverride ) : System

Initialize a new instance of the PaletteRedirectContent class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteContent disabled, IPaletteContent normal ) : void

Set the redirection states.

SetRedirectStates ( IPaletteContent disabled, IPaletteContent normal, IPaletteContent pressed, IPaletteContent tracking, IPaletteContent checkedNormal, IPaletteContent checkedPressed, IPaletteContent checkedTracking, IPaletteContent focusOverride, IPaletteContent normalDefaultOverride, IPaletteContent linkVisitedOverride, IPaletteContent linkNotVisitedOverride, IPaletteContent linkPressedOverride ) : void

Set the redirection states.

비공개 메소드들

메소드 설명
GetInherit ( PaletteState state ) : IPaletteContent

메소드 상세

GetContentAdjacentGap() 공개 메소드

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

GetContentDraw() 공개 메소드

Gets a value indicating if content should be drawn.
public GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
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 ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 InheritBool

GetContentImageEffect() 공개 메소드

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

GetContentImageH() 공개 메소드

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

GetContentImageV() 공개 메소드

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

GetContentLongTextColor1() 공개 메소드

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

GetContentLongTextColor2() 공개 메소드

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

GetContentLongTextColorAlign() 공개 메소드

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

GetContentLongTextColorStyle() 공개 메소드

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

GetContentLongTextFont() 공개 메소드

Gets the font for the long text.
public GetContentLongTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
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 ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRelativeAlign

GetContentLongTextHint() 공개 메소드

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

GetContentLongTextImage() 공개 메소드

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

GetContentLongTextImageAlign() 공개 메소드

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

GetContentLongTextImageStyle() 공개 메소드

Gets the background image style for the long text.
public GetContentLongTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
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 ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 InheritBool

GetContentLongTextMultiLineH() 공개 메소드

Gets the horizontal relative alignment of multiline long text.
public GetContentLongTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRelativeAlign

GetContentLongTextPrefix() 공개 메소드

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

GetContentLongTextTrim() 공개 메소드

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

GetContentLongTextV() 공개 메소드

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

GetContentPadding() 공개 메소드

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

GetContentShortTextColor1() 공개 메소드

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

GetContentShortTextColor2() 공개 메소드

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

GetContentShortTextColorAlign() 공개 메소드

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

GetContentShortTextColorAngle() 공개 메소드

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

GetContentShortTextColorStyle() 공개 메소드

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

GetContentShortTextFont() 공개 메소드

Gets the font for the short text.
public GetContentShortTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
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 ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRelativeAlign

GetContentShortTextHint() 공개 메소드

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

GetContentShortTextImage() 공개 메소드

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

GetContentShortTextImageAlign() 공개 메소드

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

GetContentShortTextImageStyle() 공개 메소드

Gets the background image style.
public GetContentShortTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
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 ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 InheritBool

GetContentShortTextMultiLineH() 공개 메소드

Gets the horizontal relative alignment of multiline short text.
public GetContentShortTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRelativeAlign

GetContentShortTextPrefix() 공개 메소드

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

GetContentShortTextTrim() 공개 메소드

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

GetContentShortTextV() 공개 메소드

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

PaletteRedirectContent() 공개 메소드

Initialize a new instance of the PaletteRedirectContent class.
public PaletteRedirectContent ( ) : System
리턴 System

PaletteRedirectContent() 공개 메소드

Initialize a new instance of the PaletteRedirectContent class.
public PaletteRedirectContent ( IPalette target, IPaletteContent disabled, IPaletteContent normal ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteContent Redirection for disabled state requests.
normal IPaletteContent Redirection for normal state requests.
리턴 System

PaletteRedirectContent() 공개 메소드

Initialize a new instance of the PaletteRedirectContent class.
public PaletteRedirectContent ( IPalette target, IPaletteContent disabled, IPaletteContent normal, IPaletteContent pressed, IPaletteContent tracking, IPaletteContent checkedNormal, IPaletteContent checkedPressed, IPaletteContent checkedTracking, IPaletteContent focusOverride, IPaletteContent normalDefaultOverride, IPaletteContent linkVisitedOverride, IPaletteContent linkNotVisitedOverride, IPaletteContent linkPressedOverride ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteContent Redirection for disabled state requests.
normal IPaletteContent Redirection for normal state requests.
pressed IPaletteContent Redirection for pressed state requests.
tracking IPaletteContent Redirection for tracking state requests.
checkedNormal IPaletteContent Redirection for checked normal state requests.
checkedPressed IPaletteContent Redirection for checked pressed state requests.
checkedTracking IPaletteContent Redirection for checked tracking state requests.
focusOverride IPaletteContent Redirection for focus override state requests.
normalDefaultOverride IPaletteContent Redirection for normal default override state requests.
linkVisitedOverride IPaletteContent Redirection for link visited override state requests.
linkNotVisitedOverride IPaletteContent Redirection for link not visited override state requests.
linkPressedOverride IPaletteContent Redirection for link pressed override state requests.
리턴 System

ResetRedirectStates() 공개 메소드

Reset the redirection states to null.
public ResetRedirectStates ( ) : void
리턴 void

SetRedirectStates() 공개 메소드

Set the redirection states.
public SetRedirectStates ( IPaletteContent disabled, IPaletteContent normal ) : void
disabled IPaletteContent Redirection for disabled state requests.
normal IPaletteContent Redirection for normal state requests.
리턴 void

SetRedirectStates() 공개 메소드

Set the redirection states.
public SetRedirectStates ( IPaletteContent disabled, IPaletteContent normal, IPaletteContent pressed, IPaletteContent tracking, IPaletteContent checkedNormal, IPaletteContent checkedPressed, IPaletteContent checkedTracking, IPaletteContent focusOverride, IPaletteContent normalDefaultOverride, IPaletteContent linkVisitedOverride, IPaletteContent linkNotVisitedOverride, IPaletteContent linkPressedOverride ) : void
disabled IPaletteContent Redirection for disabled state requests.
normal IPaletteContent Redirection for normal state requests.
pressed IPaletteContent Redirection for pressed state requests.
tracking IPaletteContent Redirection for tracking state requests.
checkedNormal IPaletteContent Redirection for checked normal state requests.
checkedPressed IPaletteContent Redirection for checked pressed state requests.
checkedTracking IPaletteContent Redirection for checked tracking state requests.
focusOverride IPaletteContent Redirection for focus override state requests.
normalDefaultOverride IPaletteContent Redirection for normal default override state requests.
linkVisitedOverride IPaletteContent Redirection for link visited override state requests.
linkNotVisitedOverride IPaletteContent Redirection for link not visited override state requests.
linkPressedOverride IPaletteContent Redirection for link pressed override state requests.
리턴 void