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

Implement storage for palette border,background and separator padding.
상속: PaletteDouble, IPaletteMetric
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

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

PaletteSeparatorPadding ( IPaletteDouble inheritDouble, IPaletteMetric inheritMetric, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteSeparatorPadding class.

PopulateFromBase ( PaletteState state, PaletteMetricPadding metric ) : void

Populate values from the base palette.

ResetPadding ( ) : void

Reset the Padding to the default value.

메소드 상세

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

PaletteSeparatorPadding() 공개 메소드

Initialize a new instance of the PaletteSeparatorPadding class.
public PaletteSeparatorPadding ( IPaletteDouble inheritDouble, IPaletteMetric inheritMetric, NeedPaintHandler needPaint ) : System
inheritDouble IPaletteDouble Source for inheriting border and background values.
inheritMetric IPaletteMetric Source for inheriting metric values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System

PopulateFromBase() 공개 메소드

Populate values from the base palette.
public PopulateFromBase ( PaletteState state, PaletteMetricPadding metric ) : void
state PaletteState Which state to populate from.
metric PaletteMetricPadding Which metric should be used for padding.
리턴 void

ResetPadding() 공개 메소드

Reset the Padding to the default value.
public ResetPadding ( ) : void
리턴 void