Add-ons
  • Welcome
  • StackView
    • Version 2
      • How it works
      • How to use it
      • The Details
        • ScrollController
        • StackController
        • ViewController
      • Tips & Tricks
      • General Information
    • Version 3
      • How it works
      • How to use it
      • The Details
        • ScrollController
        • StackController
        • ViewController
      • Tips & Tricks
      • General Information
    • Changelogs
    • Purchase
  • FTC Word-Exporter
    • How to use it
    • General Information
  • CSTrueColors
    • Documentation
      • NSColorAddition
      • AppKitAddition
        • VisualEffectView
      • User32Addition
      • Template Images
      • The Demo Project
    • Changelog
  • Android
  • Open Source Projects
    • Android Design Extensions
  • Xojo Language Guide
    • The Basics
Powered by GitBook
On this page
  • Methods
  • Properties
  1. StackView
  2. Version 2
  3. The Details

StackController

PreviousScrollControllerNextViewController

Last updated 8 months ago

Class (inherits from )

Methods

AddView(view As , index As = -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 )

Set Views animation.

Parameters

animated

RemoveView(index As = -1)

Removes a View from the StackView.

Parameters

index

Removes the View at position index from the StackView.

Properties

Set or return the state of the StackView.

Animate all Views while collapsing/expanding.

Collection of ViewControllers.

Sample Code

MyStackController1 Open-Event:

Views.Add(MyFontView1)
Views.Add(MyAlignmentView1)
Views.Add(MyMarginView1)


A specifiying the animation state of the StackController.

Expanded As

UseAnimation As

Views() As

ContainerControl
ViewController
Integer
Boolean
Integer
Boolean
Boolean
ViewController
Boolean
AddView
Init
RemoveView