C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteHeaderGroupState

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

Private Properties

Свойство Type Description

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.

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

KryptonPaletteHeaderGroupState() public méthode

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

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( ) : void
Résultat void

ResetDockActiveHeaderPadding() public méthode

Reset the DockActiveHeaderPadding to the default value.
public ResetDockActiveHeaderPadding ( ) : void
Résultat void

ResetDockInactiveHeaderPadding() public méthode

Reset the DockInactiveHeaderPadding to the default value.
public ResetDockInactiveHeaderPadding ( ) : void
Résultat void

ResetOverlayHeaders() public méthode

Resets the OverlayHeaders property to its default value.
public ResetOverlayHeaders ( ) : void
Résultat void

ResetPrimaryHeaderPadding() public méthode

Reset the PrimaryHeaderPadding to the default value.
public ResetPrimaryHeaderPadding ( ) : void
Résultat void

ResetSecondaryHeaderPadding() public méthode

Reset the SecondaryHeaderPadding to the default value.
public ResetSecondaryHeaderPadding ( ) : void
Résultat void