C# Class ComponentFactory.Krypton.Toolkit.PaletteHeaderPaddingRedirect

Redirect storage for headers within a HeaderGroup state.
Inheritance: PaletteHeaderButtonRedirect
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

PaletteHeaderPaddingRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteHeaderPaddingRedirect class.

ResetHeaderPadding ( ) : void

Reset the HeaderPadding to the default value.

Method Details

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

PaletteHeaderPaddingRedirect() public method

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

ResetHeaderPadding() public method

Reset the HeaderPadding to the default value.
public ResetHeaderPadding ( ) : void
return void