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
  • Constants
  • Events
  • Methods
  • Properties
  1. StackView
  2. Version 2
  3. The Details

ViewController

PreviousStackControllerNextTips & Tricks

Last updated 8 months ago

Class (inherits from )

Constants

đź”’ kExpansionPerTick As Number = 30

Measure/Step (Pixel) while a ViewController collapse/expand.

đź”’ kPeriod As Number = 30

Period (ms) while a ViewController collapse/expand.

Events

Collapse

Fires if a ViewController is collapsed.

Expand

Fires if a ViewController is expanded.

Methods

Expand(value As Boolean)

Expand or collapse a ViewController.

Parameters

value

Init(collapsedHeight As Integer, expandedHeight As Integer)

Set a ViewController’s collapsed and expanded height.

Parameters

collapsedHeight

expandedHeight

Properties

Animated As Boolean

Animate a ViewController while collapsing/expending.

Expanded As Boolean

Return state of a ViewController.

A specifiying the state of the ViewController.

An specifiying the height of the collapsed ViewController.

An specifiying the height of the expanded ViewController.

ContainerControl
Boolean
Integer
Integer
Collapse
Expand
Expand
Init