C# Class ComponentFactory.Krypton.Ribbon.PaletteRibbonFocus

Implement storage for a ribbon focus palette.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteMetricRedirect
Show file Open project: ComponentFactory/Krypton

Private Properties

Property Type Description
ShouldSerializeRibbonTab bool

Public Methods

Method Description
PaletteRibbonFocus ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonFocus class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

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

PaletteRibbonFocus() public method

Initialize a new instance of the PaletteRibbonFocus class.
public PaletteRibbonFocus ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Inheritence redirection instance.
needPaint NeedPaintHandler Paint delegate.
return System

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Target redirector.
return void