C# Class ComponentFactory.Krypton.Toolkit.PaletteDoubleMetric

Implement a double palette that exposes palette metrics.
Inheritance: PaletteDouble, IPaletteMetric
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetMetricBool() public méthode

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.
Résultat InheritBool

GetMetricInt() public méthode

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.
Résultat int

GetMetricPadding() public méthode

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.
Résultat Padding

PaletteDoubleMetric() public méthode

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

PaletteDoubleMetric() public méthode

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.
Résultat System

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( PaletteDoubleMetricRedirect inherit ) : void
inherit PaletteDoubleMetricRedirect
Résultat void