C# Class ComponentFactory.Krypton.Toolkit.PaletteFormRedirect

Redirect storage for PaletteForm states.
Inheritance: PaletteDoubleRedirect, IPaletteMetric
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeHeader bool

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.

PaletteFormRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteFormRedirect class.

PaletteFormRedirect ( PaletteRedirect redirectForm, PaletteRedirect redirectHeader, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteFormRedirect class.

Private Methods

Method Description
ShouldSerializeHeader ( ) : bool

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

PaletteFormRedirect() public method

Initialize a new instance of the PaletteFormRedirect class.
public PaletteFormRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PaletteFormRedirect() public method

Initialize a new instance of the PaletteFormRedirect class.
public PaletteFormRedirect ( PaletteRedirect redirectForm, PaletteRedirect redirectHeader, NeedPaintHandler needPaint ) : System
redirectForm PaletteRedirect Inheritence redirection for form group.
redirectHeader PaletteRedirect Inheritence redirection for header.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System