C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteHeaderGroupState

Storage for header group values for a specific state.
Inheritance: Storage, IPaletteMetric
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

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.

KryptonPaletteHeaderGroupState ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the KryptonPaletteHeaderGroupState class.

PopulateFromBase ( ) : void

Populate values from the base palette.

ResetDockActiveHeaderPadding ( ) : void

Reset the DockActiveHeaderPadding to the default value.

ResetDockInactiveHeaderPadding ( ) : void

Reset the DockInactiveHeaderPadding to the default value.

ResetOverlayHeaders ( ) : void

Resets the OverlayHeaders property to its default value.

ResetPrimaryHeaderPadding ( ) : void

Reset the PrimaryHeaderPadding to the default value.

ResetSecondaryHeaderPadding ( ) : void

Reset the SecondaryHeaderPadding to the default value.

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

KryptonPaletteHeaderGroupState() public method

Initialize a new instance of the KryptonPaletteHeaderGroupState class.
public KryptonPaletteHeaderGroupState ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirection for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( ) : void
return void

ResetDockActiveHeaderPadding() public method

Reset the DockActiveHeaderPadding to the default value.
public ResetDockActiveHeaderPadding ( ) : void
return void

ResetDockInactiveHeaderPadding() public method

Reset the DockInactiveHeaderPadding to the default value.
public ResetDockInactiveHeaderPadding ( ) : void
return void

ResetOverlayHeaders() public method

Resets the OverlayHeaders property to its default value.
public ResetOverlayHeaders ( ) : void
return void

ResetPrimaryHeaderPadding() public method

Reset the PrimaryHeaderPadding to the default value.
public ResetPrimaryHeaderPadding ( ) : void
return void

ResetSecondaryHeaderPadding() public method

Reset the SecondaryHeaderPadding to the default value.
public ResetSecondaryHeaderPadding ( ) : void
return void