Add-ons
Search…
Welcome
StackView
Version 2
How it works
How to use it
The Details
ScrollController
StackController
ViewController
Tips & Tricks
General Information
Changelogs
FTC Word-Exporter
CSTrueColors
Powered By
GitBook
StackController
Class (inherits from
ContainerControl
)
Methods
AddView
Init
RemoveView
AddView(view As
ViewController
, index As
Integer
= -1)
Adds a View (dynamically at the Runtime) to the StackView.
Parameters
view
Pointer to the View which should be added to the StackView.
index
Position to add the View into the StackView.
Init(animated As
Boolean
)
Set Views animation.
Parameters
animated
A
Boolean
specifiying the animation state of the StackController.
RemoveView(index As
Integer
= -1)
Removes a View from the StackView.
Parameters
index
Removes the View at position index from the StackView.
Properties
Expanded As
Boolean
Set or return the state of the StackView.
UseAnimation As
Boolean
Animate all Views while collapsing/expanding.
Views() As
ViewController
Collection of ViewControllers.
Sample Code
MyStackController1
Open
-Event:
Views
.
Add
(
MyFontView1
)
Views
.
Add
(
MyAlignmentView1
)
Views
.
Add
(
MyMarginView1
)
Previous
ScrollController
Next
ViewController
Last modified
4mo ago
Copy link
Outline
Methods
Properties