C# Class ComponentFactory.Krypton.Ribbon.PaletteRibbonJustTab

Implement storage for a ribbon state.
Inheritance: ComponentFactory.Krypton.Toolkit.Storage
Show file Open project: ComponentFactory/Krypton

Private Properties

Property Type Description
ShouldSerializeRibbonTab bool

Public Methods

Method Description
PaletteRibbonJustTab ( PaletteRibbonRedirect inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonJustTab class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( PaletteRibbonRedirect inherit ) : 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
ShouldSerializeRibbonTab ( ) : 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

PaletteRibbonJustTab() public method

Initialize a new instance of the PaletteRibbonJustTab class.
public PaletteRibbonJustTab ( PaletteRibbonRedirect inherit, NeedPaintHandler needPaint ) : System
inherit PaletteRibbonRedirect 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 ( PaletteRibbonRedirect inherit ) : void
inherit PaletteRibbonRedirect
return void