Click or drag to resize

ViewLayoutScrollViewport Constructor

Initialize a new instance of the ViewLayoutScrollViewport 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 ViewLayoutScrollViewport(
	VisualControl rootControl,
	ViewBase viewportFiller,
	PaletteBorderEdge paletteBorderEdge,
	IPaletteMetric paletteMetrics,
	PaletteMetricPadding metricPadding,
	PaletteMetricInt metricOvers,
	VisualOrientation orientation,
	RelativePositionAlign alignment,
	bool animateChange,
	bool vertical,
	NeedPaintHandler needPaintDelegate
)

Parameters

rootControl
Type: Internal.ComponentFactory.Krypton.ToolkitVisualControl
Top level visual control.
viewportFiller
Type: Internal.ComponentFactory.Krypton.ToolkitViewBase
View element to place inside viewport.
paletteBorderEdge
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteBorderEdge
Palette for use with the border edge.
paletteMetrics
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteMetric
Palette source for metrics.
metricPadding
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricPadding
Metric used to get view padding.
metricOvers
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteMetricInt
Metric used to get overposition.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Orientation for the viewport children.
alignment
Type: Internal.ComponentFactory.Krypton.ToolkitRelativePositionAlign
Alignment of the children within the viewport.
animateChange
Type: SystemBoolean
Animate changes in the viewport.
vertical
Type: SystemBoolean
Is the viewport vertical.
needPaintDelegate
Type: Internal.ComponentFactory.Krypton.ToolkitNeedPaintHandler
Delegate for notifying paint requests.
See Also