C# Class ComponentFactory.Krypton.Toolkit.PaletteDoubleMetricRedirect

Redirect storage for a double palette with palette metrics.
Inheritance: PaletteDoubleRedirect, IPaletteMetric
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method 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.

PaletteDoubleMetricRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle ) : System

Initialize a new instance of the PaletteDoubleMetricRedirect class.

PaletteDoubleMetricRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDoubleMetricRedirect class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Method Details

GetMetricBool() public method

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.
return InheritBool

GetMetricInt() public method

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.
return int

GetMetricPadding() public method

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.
return Padding

PaletteDoubleMetricRedirect() public method

Initialize a new instance of the PaletteDoubleMetricRedirect class.
public PaletteDoubleMetricRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Style for the background.
borderStyle PaletteBorderStyle Style for the border.
return System

PaletteDoubleMetricRedirect() public method

Initialize a new instance of the PaletteDoubleMetricRedirect class.
public PaletteDoubleMetricRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Style for the background.
borderStyle PaletteBorderStyle Style for the border.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void