C# Class ComponentFactory.Krypton.Ribbon.PaletteGalleryRedirect

Implement storage for a gallery palette redirect.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteMetricRedirect
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeRibbonGalleryBack bool
ShouldSerializeRibbonGalleryBorder bool

Public Methods

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

Initialize a new instance of the PaletteGalleryRedirect 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
ShouldSerializeRibbonGalleryBack ( ) : bool
ShouldSerializeRibbonGalleryBorder ( ) : 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

PaletteGalleryRedirect() public method

Initialize a new instance of the PaletteGalleryRedirect class.
public PaletteGalleryRedirect ( 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