Click or drag to resize

ButtonSpecManagerLayoutAppButtonCreateButtonSpecView Method

Create the button spec view appropriate for the button spec.

Namespace:  Internal.ComponentFactory.Krypton.Ribbon
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
protected override ButtonSpecView CreateButtonSpecView(
	PaletteRedirect redirector,
	IPaletteMetric viewPaletteMetric,
	PaletteMetricPadding viewMetricPadding,
	ButtonSpec buttonSpec
)

Parameters

redirector
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRedirect
Redirector for acquiring palette values.
viewPaletteMetric
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteMetric
Target metric providers.
viewMetricPadding
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricPadding
Target metric padding.
buttonSpec
Type: Internal.ComponentFactory.Krypton.ToolkitButtonSpec
ButtonSpec instance.

Return Value

Type: ButtonSpecView
ButtonSpecView derived class.
See Also