C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteSeparator

Storage for palette separator states.
Inheritance: Storage
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

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

Public Methods

Method Description
KryptonPaletteSeparator ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the KryptonPaletteSeparator class.

PopulateFromBase ( PaletteMetricPadding metric ) : 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
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateTracking ( ) : bool

Method Details

KryptonPaletteSeparator() public method

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

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteMetricPadding metric ) : void
metric PaletteMetricPadding Which metric should be used for padding.
return void

SetRedirector() public method

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