VerticalScrollbar Constructor

GeonBit.UI

VerticalScrollbar Constructor
Create the scrollbar.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public VerticalScrollbar(
	uint min,
	uint max,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> offset = null,
	bool adjustMaxAutomatically = false
)

Parameters

min
Type: SystemUInt32
Min scrollbar value.
max
Type: SystemUInt32
Max scrollbar value.
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
adjustMaxAutomatically (Optional)
Type: SystemBoolean
If true, the scrollbar will set its max value automatically based on entities in its parent.
See Also