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

Implement a double palette that exposes palette metrics.
상속: PaletteDouble, IPaletteMetric
파일 보기 프로젝트 열기: 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.

PaletteDoubleMetric ( PaletteDoubleMetricRedirect inherit ) : System

Initialize a new instance of the PaletteDoubleMetric class.

PaletteDoubleMetric ( PaletteDoubleMetricRedirect inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDoubleMetric class.

SetInherit ( PaletteDoubleMetricRedirect inherit ) : void

Sets the inheritence parent.

메소드 상세

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

PaletteDoubleMetric() 공개 메소드

Initialize a new instance of the PaletteDoubleMetric class.
public PaletteDoubleMetric ( PaletteDoubleMetricRedirect inherit ) : System
inherit PaletteDoubleMetricRedirect Source for palette defaulted values.
리턴 System

PaletteDoubleMetric() 공개 메소드

Initialize a new instance of the PaletteDoubleMetric class.
public PaletteDoubleMetric ( PaletteDoubleMetricRedirect inherit, NeedPaintHandler needPaint ) : System
inherit PaletteDoubleMetricRedirect Source for palette defaulted values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System

SetInherit() 공개 메소드

Sets the inheritence parent.
public SetInherit ( PaletteDoubleMetricRedirect inherit ) : void
inherit PaletteDoubleMetricRedirect
리턴 void