C# Class ComponentFactory.Krypton.Ribbon.PaletteGalleryState

Implement storage for a gallery palette state.
Inheritance: ComponentFactory.Krypton.Toolkit.Storage
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeRibbonGalleryBack bool
ShouldSerializeRibbonGalleryBorder bool

Public Methods

Method Description
PaletteGalleryState ( PaletteGalleryRedirect inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteGalleryState class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( PaletteGalleryRedirect inherit ) : void

Sets the inheritence parent.

Private Methods

Method Description
ShouldSerializeRibbonGalleryBack ( ) : bool
ShouldSerializeRibbonGalleryBorder ( ) : bool

Method Details

PaletteGalleryState() public method

Initialize a new instance of the PaletteGalleryState class.
public PaletteGalleryState ( PaletteGalleryRedirect inherit, NeedPaintHandler needPaint ) : System
inherit PaletteGalleryRedirect Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState The palette state to populate with.
return void

SetInherit() public method

Sets the inheritence parent.
public SetInherit ( PaletteGalleryRedirect inherit ) : void
inherit PaletteGalleryRedirect
return void