C# Class ComponentFactory.Krypton.Navigator.PaletteRibbonTabContent

Implement storage for ribbon tab and content.
Inheritance: ComponentFactory.Krypton.Toolkit.Storage
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeContent bool
ShouldSerializeTabDraw bool

Public Methods

Method Description
PaletteRibbonTabContent ( IPaletteRibbonBack paletteBack, IPaletteRibbonText paletteText, IPaletteContent paletteContent, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonTabContent class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteRibbonBack paletteBack, IPaletteRibbonText paletteText, IPaletteContent paletteContent ) : void

Sets the inheritence parent.

Private Methods

Method Description
ShouldSerializeContent ( ) : bool
ShouldSerializeTabDraw ( ) : bool

Method Details

PaletteRibbonTabContent() public method

Initialize a new instance of the PaletteRibbonTabContent class.
public PaletteRibbonTabContent ( IPaletteRibbonBack paletteBack, IPaletteRibbonText paletteText, IPaletteContent paletteContent, NeedPaintHandler needPaint ) : System
paletteBack IPaletteRibbonBack Source for inheriting palette ribbon background.
paletteText IPaletteRibbonText Source for inheriting palette ribbon text.
paletteContent IPaletteContent Source for inheriting palette content.
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 ( IPaletteRibbonBack paletteBack, IPaletteRibbonText paletteText, IPaletteContent paletteContent ) : void
paletteBack IPaletteRibbonBack
paletteText IPaletteRibbonText
paletteContent IPaletteContent
return void