Click or drag to resize

ViewLayoutCenter Constructor (IPaletteMetric, PaletteMetricPadding, VisualOrientation, ViewBase)

Initialize a new instance of the ViewLayoutCenter 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 ViewLayoutCenter(
	IPaletteMetric paletteMetric,
	PaletteMetricPadding metricPadding,
	VisualOrientation orientation,
	ViewBase childElement
)

Parameters

paletteMetric
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteMetric
Target for recovering metric values.
metricPadding
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricPadding
Metric to use for border padding.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Orientation of the element.
childElement
Type: Internal.ComponentFactory.Krypton.ToolkitViewBase
Optional element to add as child.
See Also