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

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

공개 메소드들

메소드 설명
GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool

Gets a boolean metric value.

GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int

Gets an integer metric value.

GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

PaletteRedirectDoubleMetric ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectDoubleMetric class.

PaletteRedirectDoubleMetric ( IPalette target, IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric ) : System

Initialize a new instance of the PaletteRedirectDoubleMetric class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric ) : void

Set the redirection states.

SetRedirectStates ( IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric, IPaletteDouble pressed, IPaletteMetric pressedMetric, IPaletteDouble tracking, IPaletteMetric trackingMetric ) : void

Set the redirection states.

비공개 메소드들

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

메소드 상세

GetMetricBool() 공개 메소드

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
리턴 InheritBool

GetMetricInt() 공개 메소드

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
리턴 int

GetMetricPadding() 공개 메소드

Gets a padding metric value.
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
리턴 Padding

PaletteRedirectDoubleMetric() 공개 메소드

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

PaletteRedirectDoubleMetric() 공개 메소드

Initialize a new instance of the PaletteRedirectDoubleMetric class.
public PaletteRedirectDoubleMetric ( IPalette target, IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteDouble Redirection for disabled state requests.
disableMetric IPaletteMetric Redirection for disabled metric requests.
normal IPaletteDouble Redirection for normal state requests.
normalMetric IPaletteMetric Redirection for normal metric requests.
리턴 System

ResetRedirectStates() 공개 메소드

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

SetRedirectStates() 공개 메소드

Set the redirection states.
public SetRedirectStates ( IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric ) : void
disabled IPaletteDouble Redirection for disabled state requests.
disableMetric IPaletteMetric Redirection for disabled metric requests.
normal IPaletteDouble Redirection for normal state requests.
normalMetric IPaletteMetric Redirection for normal metric requests.
리턴 void

SetRedirectStates() 공개 메소드

Set the redirection states.
public SetRedirectStates ( IPaletteDouble disabled, IPaletteMetric disableMetric, IPaletteDouble normal, IPaletteMetric normalMetric, IPaletteDouble pressed, IPaletteMetric pressedMetric, IPaletteDouble tracking, IPaletteMetric trackingMetric ) : void
disabled IPaletteDouble Redirection for disabled state requests.
disableMetric IPaletteMetric Redirection for disabled metric requests.
normal IPaletteDouble Redirection for normal state requests.
normalMetric IPaletteMetric Redirection for normal metric requests.
pressed IPaletteDouble Redirection for pressed state requests.
pressedMetric IPaletteMetric Redirection for pressed metric requests.
tracking IPaletteDouble Redirection for tracking state requests.
trackingMetric IPaletteMetric Redirection for tracking metric requests.
리턴 void