C# Class ComponentFactory.Krypton.Toolkit.PaletteComboBoxStates

Implement storage for just the combo part of a combo box state.
Inheritance: Storage
Exibir arquivo Open project: ComponentFactory/Krypton

Private Properties

Property Type Description
ShouldSerializeComboBox bool
ShouldSerializeItem bool

Public Methods

Method Description
PaletteComboBoxStates ( IPaletteTriple inheritComboBox, IPaletteTriple inheritItem, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteComboBoxStates class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteTriple inheritComboBox, IPaletteTriple inheritItem ) : void

Sets the inheritence parent.

Protected Methods

Method Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Method Description
ShouldSerializeComboBox ( ) : bool
ShouldSerializeItem ( ) : bool

Method Details

OnNeedPaint() protected method

Handle a change event from palette source.
protected OnNeedPaint ( object sender, bool needLayout ) : void
sender object Source of the event.
needLayout bool True if a layout is also needed.
return void

PaletteComboBoxStates() public method

Initialize a new instance of the PaletteComboBoxStates class.
public PaletteComboBoxStates ( IPaletteTriple inheritComboBox, IPaletteTriple inheritItem, NeedPaintHandler needPaint ) : System
inheritComboBox IPaletteTriple Source for inheriting combo box values.
inheritItem IPaletteTriple Source for inheriting item 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 Palette state to use when populating.
return void

SetInherit() public method

Sets the inheritence parent.
public SetInherit ( IPaletteTriple inheritComboBox, IPaletteTriple inheritItem ) : void
inheritComboBox IPaletteTriple Source for inheriting combo box values.
inheritItem IPaletteTriple Source for inheriting item values.
return void