ScrollController
Methods
AddView(view As ViewController, index As Integer = -1)
Adds a View (dynamically at the Runtime) to the StackView.
Parameters
Name
Datatype
Description
Expand(value As Boolean)
Expand or collapse the StackController.
Parameters
Name
Datatype
Description
Sample Code
Button1 Pressed
-Event:
MyScrollController1.Expand(True)
GetViews As ViewController()
Returns an Array of the StackViews Views.
Creates a new ScrollContainer starting with the given Parameters.
Parameters
Name
Datatype
Description
Sample Code
MyScrollContainer1 Opening
-Event:
If Not Self.AutoSetup Then
Init(MyStackView1)
End If
RemoveView(index As Integer = - 1)
Removes a View from the StackView.
Parameters
Name
Description
Properties
AutoSetup As Boolean (designtime-only)
Automatically adds the StackController contained in the ScrollController. Otherwise, you must add the StackController manually via Init
in the Opening
-Event.
Expanded As Boolean (read-only)
Returns the state of the StackController.
UseAnimation As Boolean
The animation state of the StackController.
Last updated