C# Class ComponentFactory.Krypton.Ribbon.ButtonSpecManagerLayoutRibbon

Manage a collection of button specs for placing within a collection of ViewLayoutDocker instances.
Inheritance: ComponentFactory.Krypton.Toolkit.ButtonSpecManagerLayout
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
ButtonSpecManagerLayoutRibbon ( KryptonRibbon ribbon, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricInt, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ButtonSpecManagerLayoutRibbon class.

Protected Methods

Method Description
CreateButtonSpecView ( PaletteRedirect redirector, IPaletteMetric viewPaletteMetric, PaletteMetricPadding viewMetricPadding, ButtonSpec buttonSpec ) : ButtonSpecView

Create the button spec view appropriate for the button spec.

Method Details

ButtonSpecManagerLayoutRibbon() public method

Initialize a new instance of the ButtonSpecManagerLayoutRibbon class.
public ButtonSpecManagerLayoutRibbon ( KryptonRibbon ribbon, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricInt, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Ribbon that owns the button manager.
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
variableSpecs ButtonSpecCollectionBase Variable set of button specifications.
fixedSpecs ButtonSpecCollectionBase Fixed set of button specifications.
viewDockers ComponentFactory.Krypton.Toolkit.ViewLayoutDocker Array of target view dockers.
viewMetrics IPaletteMetric Array of target metric providers.
viewMetricInt PaletteMetricInt Array of target metrics for outside/inside spacer size.
viewMetricPaddings PaletteMetricPadding Array of target metrics for button padding.
getRenderer GetToolStripRenderer Delegate for returning a tool strip renderer.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

CreateButtonSpecView() protected method

Create the button spec view appropriate for the button spec.
protected CreateButtonSpecView ( PaletteRedirect redirector, IPaletteMetric viewPaletteMetric, PaletteMetricPadding viewMetricPadding, ButtonSpec buttonSpec ) : ButtonSpecView
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Redirector for acquiring palette values.
viewPaletteMetric IPaletteMetric Target metric providers.
viewMetricPadding PaletteMetricPadding Target metric padding.
buttonSpec ComponentFactory.Krypton.Toolkit.ButtonSpec ButtonSpec instance.
return ComponentFactory.Krypton.Toolkit.ButtonSpecView