C# Class ComponentFactory.Krypton.Toolkit.PaletteComboBoxRedirect

Implement storage for a combo box state.
Inheritance: Storage
Afficher le fichier Open project: ComponentFactory/Krypton

Private Properties

Свойство Type Description
ShouldSerializeComboBox bool
ShouldSerializeDropBack bool
ShouldSerializeItem bool

Méthodes publiques

Méthode Description
PaletteComboBoxRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteComboBoxRedirect class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

SetStyles ( ButtonStyle style ) : void

Update the combo box item style.

SetStyles ( InputControlStyle style ) : void

Update the combo box input control style.

SetStyles ( PaletteBackStyle style ) : void

Update the combo box drop background style.

Méthodes protégées

Méthode Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Méthode Description
ShouldSerializeComboBox ( ) : bool
ShouldSerializeDropBack ( ) : bool
ShouldSerializeItem ( ) : bool

Method Details

OnNeedPaint() protected méthode

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.
Résultat void

PaletteComboBoxRedirect() public méthode

Initialize a new instance of the PaletteComboBoxRedirect class.
public PaletteComboBoxRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
Résultat void

SetRedirector() public méthode

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

SetStyles() public méthode

Update the combo box item style.
public SetStyles ( ButtonStyle style ) : void
style ButtonStyle New item style.
Résultat void

SetStyles() public méthode

Update the combo box input control style.
public SetStyles ( InputControlStyle style ) : void
style InputControlStyle New input control style.
Résultat void

SetStyles() public méthode

Update the combo box drop background style.
public SetStyles ( PaletteBackStyle style ) : void
style PaletteBackStyle New drop background style.
Résultat void