C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteHeader

Storage for palette header states.
Inheritance: Storage
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool

Public Methods

Method Description
KryptonPaletteHeader ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the KryptonPaletteHeader class.

PopulateFromBase ( ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Private Methods

Method Description
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool

Method Details

KryptonPaletteHeader() public method

Initialize a new instance of the KryptonPaletteHeader class.
public KryptonPaletteHeader ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
backStyle PaletteBackStyle Background style.
borderStyle PaletteBorderStyle Border style.
contentStyle PaletteContentStyle Content style.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PopulateFromBase() public method

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

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void