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

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

공개 메소드들

메소드 설명
GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the first background color.

GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the second back color.

GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment.

GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float

Gets the color background angle.

GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle

Gets the color background drawing style.

GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool

Gets a value indicating if background should be drawn.

GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the background.

GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image

Gets a background image.

GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment.

GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style.

PaletteRedirectBack ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectBack class.

PaletteRedirectBack ( IPalette target, IPaletteBack disabled, IPaletteBack normal ) : System

Initialize a new instance of the PaletteRedirectBack class.

PaletteRedirectBack ( IPalette target, IPaletteBack disabled, IPaletteBack normal, IPaletteBack pressed, IPaletteBack tracking, IPaletteBack checkedNormal, IPaletteBack checkedPressed, IPaletteBack checkedTracking, IPaletteBack focusOverride, IPaletteBack normalDefaultOverride ) : System

Initialize a new instance of the PaletteRedirectBack class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteBack disabled, IPaletteBack normal ) : void

Set the redirection states.

비공개 메소드들

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

메소드 상세

GetBackColor1() 공개 메소드

Gets the first background color.
public GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetBackColor2() 공개 메소드

Gets the second back color.
public GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetBackColorAlign() 공개 메소드

Gets the color alignment.
public GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRectangleAlign

GetBackColorAngle() 공개 메소드

Gets the color background angle.
public GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 float

GetBackColorStyle() 공개 메소드

Gets the color background drawing style.
public GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteColorStyle

GetBackDraw() 공개 메소드

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 InheritBool

GetBackGraphicsHint() 공개 메소드

Gets the graphics drawing hint for the background.
public GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBackStyle Border style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteGraphicsHint

GetBackImage() 공개 메소드

Gets a background image.
public GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 Image

GetBackImageAlign() 공개 메소드

Gets the image alignment.
public GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRectangleAlign

GetBackImageStyle() 공개 메소드

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

PaletteRedirectBack() 공개 메소드

Initialize a new instance of the PaletteRedirectBack class.
public PaletteRedirectBack ( IPalette target ) : System
target IPalette Initial palette target for redirection.
리턴 System

PaletteRedirectBack() 공개 메소드

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

PaletteRedirectBack() 공개 메소드

Initialize a new instance of the PaletteRedirectBack class.
public PaletteRedirectBack ( IPalette target, IPaletteBack disabled, IPaletteBack normal, IPaletteBack pressed, IPaletteBack tracking, IPaletteBack checkedNormal, IPaletteBack checkedPressed, IPaletteBack checkedTracking, IPaletteBack focusOverride, IPaletteBack normalDefaultOverride ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteBack Redirection for disabled state requests.
normal IPaletteBack Redirection for normal state requests.
pressed IPaletteBack Redirection for pressed state requests.
tracking IPaletteBack Redirection for tracking state requests.
checkedNormal IPaletteBack Redirection for checked normal state requests.
checkedPressed IPaletteBack Redirection for checked pressed state requests.
checkedTracking IPaletteBack Redirection for checked tracking state requests.
focusOverride IPaletteBack Redirection for focus override state requests.
normalDefaultOverride IPaletteBack Redirection for normal default override state requests.
리턴 System

ResetRedirectStates() 공개 메소드

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

SetRedirectStates() 공개 메소드

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