Click or drag to resize

ButtonSpecManagerDraw Constructor (Control, PaletteRedirect, ButtonSpecCollectionBase, ButtonSpecCollectionBase, ViewDrawDocker, IPaletteMetric, PaletteMetricInt, PaletteMetricInt, PaletteMetricPadding, GetToolStripRenderer, NeedPaintHandler)

Initialize a new instance of the ButtonSpecManagerDraw class.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public ButtonSpecManagerDraw(
	Control control,
	PaletteRedirect redirector,
	ButtonSpecCollectionBase variableSpecs,
	ButtonSpecCollectionBase fixedSpecs,
	ViewDrawDocker[] viewDockers,
	IPaletteMetric[] viewMetrics,
	PaletteMetricInt[] viewMetricIntOutside,
	PaletteMetricInt[] viewMetricIntInside,
	PaletteMetricPadding[] viewMetricPaddings,
	GetToolStripRenderer getRenderer,
	NeedPaintHandler needPaint
)

Parameters

control
Type: System.Windows.FormsControl
Control that owns the button manager.
redirector
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRedirect
Palette redirector.
variableSpecs
Type: Internal.ComponentFactory.Krypton.ToolkitButtonSpecCollectionBase
Variable set of button specifications.
fixedSpecs
Type: Internal.ComponentFactory.Krypton.ToolkitButtonSpecCollectionBase
Fixed set of button specifications.
viewDockers
Type: Internal.ComponentFactory.Krypton.ToolkitViewDrawDocker
Array of target view dockers.
viewMetrics
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteMetric
Array of target metric providers.
viewMetricIntOutside
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricInt
Array of target metrics for outside spacer size.
viewMetricIntInside
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricInt
Array of target metrics for inside spacer size.
viewMetricPaddings
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricPadding
Array of target metrics for button padding.
getRenderer
Type: Internal.ComponentFactory.Krypton.ToolkitGetToolStripRenderer
Delegate for returning a tool strip renderer.
needPaint
Type: Internal.ComponentFactory.Krypton.ToolkitNeedPaintHandler
Delegate for notifying paint requests.
See Also