C# Class ComponentFactory.Krypton.Ribbon.ButtonSpecManagerLayoutAppButton

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

Méthodes publiques

Méthode Description
ButtonSpecManagerLayoutAppButton ( ViewContextMenuManager viewManager, Control control, 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 ButtonSpecManagerLayoutAppButton class.

Méthodes protégées

Méthode Description
CreateButtonSpecView ( PaletteRedirect redirector, IPaletteMetric viewPaletteMetric, PaletteMetricPadding viewMetricPadding, ButtonSpec buttonSpec ) : ButtonSpecView

Create the button spec view appropriate for the button spec.

Method Details

ButtonSpecManagerLayoutAppButton() public méthode

Initialize a new instance of the ButtonSpecManagerLayoutAppButton class.
public ButtonSpecManagerLayoutAppButton ( ViewContextMenuManager viewManager, Control control, PaletteRedirect redirector, ButtonSpecCollectionBase variableSpecs, ButtonSpecCollectionBase fixedSpecs, ViewLayoutDocker viewDockers, IPaletteMetric viewMetrics, PaletteMetricInt viewMetricInt, PaletteMetricPadding viewMetricPaddings, GetToolStripRenderer getRenderer, NeedPaintHandler needPaint ) : System
viewManager ViewContextMenuManager Reference to context menu view manager.
control System.Windows.Forms.Control Control 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.
Résultat System

CreateButtonSpecView() protected méthode

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.
Résultat ComponentFactory.Krypton.Toolkit.ButtonSpecView