C# Class ComponentFactory.Krypton.Ribbon.PaletteRibbonRedirect

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

Private Properties

Property Type Description
ShouldSerializeRibbonAppButton bool
ShouldSerializeRibbonAppMenuDocs bool
ShouldSerializeRibbonAppMenuDocsEntry bool
ShouldSerializeRibbonAppMenuDocsTitle bool
ShouldSerializeRibbonAppMenuInner bool
ShouldSerializeRibbonAppMenuOuter bool
ShouldSerializeRibbonGeneral bool
ShouldSerializeRibbonGroupArea bool
ShouldSerializeRibbonGroupButtonText bool
ShouldSerializeRibbonGroupCheckBoxText bool
ShouldSerializeRibbonGroupCollapsedBack bool
ShouldSerializeRibbonGroupCollapsedBorder bool
ShouldSerializeRibbonGroupCollapsedFrameBack bool
ShouldSerializeRibbonGroupCollapsedFrameBorder bool
ShouldSerializeRibbonGroupCollapsedText bool
ShouldSerializeRibbonGroupLabelText bool
ShouldSerializeRibbonGroupNormalBorder bool
ShouldSerializeRibbonGroupNormalTitle bool
ShouldSerializeRibbonGroupRadioButtonText bool
ShouldSerializeRibbonImages bool
ShouldSerializeRibbonQATFullbar bool
ShouldSerializeRibbonQATMinibarActive bool
ShouldSerializeRibbonQATMinibarInactive bool
ShouldSerializeRibbonQATOverflow bool
ShouldSerializeRibbonTab bool

Public Methods

Method Description
PaletteRibbonRedirect ( PaletteRedirect redirect, PaletteBackStyle panelBackStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDoubleRedirect 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
ShouldSerializeRibbonAppButton ( ) : bool
ShouldSerializeRibbonAppMenuDocs ( ) : bool
ShouldSerializeRibbonAppMenuDocsEntry ( ) : bool
ShouldSerializeRibbonAppMenuDocsTitle ( ) : bool
ShouldSerializeRibbonAppMenuInner ( ) : bool
ShouldSerializeRibbonAppMenuOuter ( ) : bool
ShouldSerializeRibbonGeneral ( ) : bool
ShouldSerializeRibbonGroupArea ( ) : bool
ShouldSerializeRibbonGroupButtonText ( ) : bool
ShouldSerializeRibbonGroupCheckBoxText ( ) : bool
ShouldSerializeRibbonGroupCollapsedBack ( ) : bool
ShouldSerializeRibbonGroupCollapsedBorder ( ) : bool
ShouldSerializeRibbonGroupCollapsedFrameBack ( ) : bool
ShouldSerializeRibbonGroupCollapsedFrameBorder ( ) : bool
ShouldSerializeRibbonGroupCollapsedText ( ) : bool
ShouldSerializeRibbonGroupLabelText ( ) : bool
ShouldSerializeRibbonGroupNormalBorder ( ) : bool
ShouldSerializeRibbonGroupNormalTitle ( ) : bool
ShouldSerializeRibbonGroupRadioButtonText ( ) : bool
ShouldSerializeRibbonImages ( ) : bool
ShouldSerializeRibbonQATFullbar ( ) : bool
ShouldSerializeRibbonQATMinibarActive ( ) : bool
ShouldSerializeRibbonQATMinibarInactive ( ) : bool
ShouldSerializeRibbonQATOverflow ( ) : bool
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

PaletteRibbonRedirect() public method

Initialize a new instance of the PaletteDoubleRedirect class.
public PaletteRibbonRedirect ( PaletteRedirect redirect, PaletteBackStyle panelBackStyle, NeedPaintHandler needPaint ) : System
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Inheritence redirection instance.
panelBackStyle PaletteBackStyle Initial background style.
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