C# Class ComponentFactory.Krypton.Toolkit.PaletteHeaderGroupRedirect

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

Private Properties

Property Type Description
ShouldSerializeHeaderPrimary bool
ShouldSerializeHeaderSecondary 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.

PaletteHeaderGroupRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteHeaderGroupRedirect class.

PaletteHeaderGroupRedirect ( PaletteRedirect redirectHeaderGroup, PaletteRedirect redirectHeaderPrimary, PaletteRedirect redirectHeaderSecondary, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteHeaderGroupRedirect class.

Private Methods

Method Description
ShouldSerializeHeaderPrimary ( ) : bool
ShouldSerializeHeaderSecondary ( ) : 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

PaletteHeaderGroupRedirect() public method

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

PaletteHeaderGroupRedirect() public method

Initialize a new instance of the PaletteHeaderGroupRedirect class.
public PaletteHeaderGroupRedirect ( PaletteRedirect redirectHeaderGroup, PaletteRedirect redirectHeaderPrimary, PaletteRedirect redirectHeaderSecondary, NeedPaintHandler needPaint ) : System
redirectHeaderGroup PaletteRedirect Inheritence redirection for header group.
redirectHeaderPrimary PaletteRedirect Inheritence redirection for primary header.
redirectHeaderSecondary PaletteRedirect Inheritence redirection for secondary header.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System