C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteTabButton

Storage of palette tab button states.
Inheritance: Storage
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeStatePressed bool
ShouldSerializeStateSelected bool
ShouldSerializeStateTracking bool

Public Methods

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

Initialize a new instance of the KryptonPaletteTabButton class.

PopulateFromBase ( ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Private Methods

Method Description
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateSelected ( ) : bool
ShouldSerializeStateTracking ( ) : bool

Method Details

KryptonPaletteTabButton() public method

Initialize a new instance of the KryptonPaletteTabButton class.
public KryptonPaletteTabButton ( 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