Android Programming Press on the image to return to the main documentation page.

DesignSupport

Written by Markus Stipp

List of types:

DSFloatingActionButton
DSFloatlabelEditText
DSNavigationDrawer
DSNavigationView
DSSnackbar
DSTabLayout

DSFloatingActionButton


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

Click

Members:


  Background As android.graphics.drawable.Drawable

  BringToFront

  Color As Int [write only]

  DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)

  Elevation As Float

  Enabled As Boolean

  Height As Int

  Hide

  Initialize (EventName As String)

  Invalidate

  Invalidate2 (Rect As android.graphics.Rect)

  Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)

  IsInitialized As Boolean

  Left As Int

  Parent As Object [read only]

  RemoveView

  RequestFocus As Boolean

  RippleColor As Int [write only]

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

  SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)

  SetIcon (Icon As android.graphics.drawable.Drawable)

  SetIcon2 (Icon As android.graphics.Bitmap)

  SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)

  SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)

  SetVisibleAnimated (Duration As Int, Visible As Boolean)

  Show

  Size As Int

  SIZE_MINI As Int

  SIZE_NORMAL As Int

  Tag As Object

  Top As Int

  UseCompatPadding As Boolean

  Visible As Boolean

  Width As Int

Members description:

Background As android.graphics.drawable.Drawable
BringToFront
Color As Int [write only]
DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)
Elevation As Float
Enabled As Boolean
Height As Int
Gets or sets the view's height
Hide
Initialize (EventName As String)
Initializes the object
Invalidate
Invalidate2 (Rect As android.graphics.Rect)
Invalidate a rectangualar part of the object
Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
Invalidate part of the object
IsInitialized As Boolean
Left As Int
Gets or sets the view's left position
Parent As Object [read only]
RemoveView
RequestFocus As Boolean
RippleColor As Int [write only]
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
Animate the color to a new value
SetIcon (Icon As android.graphics.drawable.Drawable)
SetIcon2 (Icon As android.graphics.Bitmap)
SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
Changes the View position and size.
SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)
Similar to SetLayout. Animates the change. Note that the animation will only be applied when running on Android 3+ devices.

Duration - duration of the layout change
SetVisibleAnimated (Duration As Int, Visible As Boolean)
Fade the view in or out
Show
Size As Int
SIZE_MINI As Int
SIZE_NORMAL As Int
Tag As Object
Top As Int
Gets or sets the view's top position
UseCompatPadding As Boolean
Visible As Boolean
Width As Int
Gets or sets the view's width

DSFloatlabelEditText


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

EnterPressed
FocusChanged (HasFocus As Boolean)
TextChanged (Old As String, New As String)

Members:


  Background As android.graphics.drawable.Drawable

  BringToFront

  Color As Int [write only]

  CounterEnabled As Boolean [write only]

  CounterMaxLength As Int

  DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)

  Enabled As Boolean

  ErrorEnabled As Boolean [write only]

  ErrorText As String

  ForceDoneButton As Boolean [write only]

  Gravity As Int

  Height As Int

  Hint As String

  HintColor As Int

  Initialize (arg1 As String)

  INPUT_TYPE_DECIMAL_NUMBERS As Int

  INPUT_TYPE_NONE As Int

  INPUT_TYPE_NUMBERS As Int

  INPUT_TYPE_PHONE As Int

  INPUT_TYPE_TEXT As Int

  InputType As Int

  Invalidate

  Invalidate2 (Rect As android.graphics.Rect)

  Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)

  IsInitialized As Boolean

  Left As Int

  Parent As Object [read only]

  PasswordMode As Boolean [write only]

  PasswordVisibilityToggleDrawable As android.graphics.drawable.Drawable

  PasswordVisibilityToggleEnabled As Boolean [write only]

  RemoveView

  RequestFocus As Boolean

  SelectAll

  SelectionStart As Int

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

  SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)

  SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)

  SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)

  SetTextColorAnimated (Duration As Int, ToColor As Int)

  SetTextSizeAnimated (Duration As Int, TextSize As Int)

  SetVisibleAnimated (Duration As Int, Visible As Boolean)

  SingleLine As Boolean [write only]

  Tag As Object

  Text As String

  TextColor As Int

  TextSize As Float

  Top As Int

  Typeface As android.graphics.Typeface

  Visible As Boolean

  Width As Int

  Wrap As Boolean [write only]

Members description:

Background As android.graphics.drawable.Drawable
BringToFront
Color As Int [write only]
CounterEnabled As Boolean [write only]
CounterMaxLength As Int
DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)
This method is only for the B4A Designer. Don't call it directly
Enabled As Boolean
ErrorEnabled As Boolean [write only]
ErrorText As String
ForceDoneButton As Boolean [write only]
Gravity As Int
Height As Int
Gets or sets the view's height
Hint As String
HintColor As Int
Initialize (arg1 As String)
INPUT_TYPE_DECIMAL_NUMBERS As Int
INPUT_TYPE_NONE As Int
INPUT_TYPE_NUMBERS As Int
INPUT_TYPE_PHONE As Int
INPUT_TYPE_TEXT As Int
InputType As Int
Invalidate
Invalidate2 (Rect As android.graphics.Rect)
Invalidate a rectangualar part of the object
Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
Invalidate part of the object
IsInitialized As Boolean
Left As Int
Gets or sets the view's left position
Parent As Object [read only]
PasswordMode As Boolean [write only]
PasswordVisibilityToggleDrawable As android.graphics.drawable.Drawable
PasswordVisibilityToggleEnabled As Boolean [write only]
RemoveView
RequestFocus As Boolean
SelectAll
SelectionStart As Int
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
Animate the color to a new value
SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
Changes the View position and size.
SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)
Similar to SetLayout. Animates the change. Note that the animation will only be applied when running on Android 3+ devices.

Duration - duration of the layout change
SetTextColorAnimated (Duration As Int, ToColor As Int)
SetTextSizeAnimated (Duration As Int, TextSize As Int)
SetVisibleAnimated (Duration As Int, Visible As Boolean)
Fade the view in or out
SingleLine As Boolean [write only]
Tag As Object
Text As String
TextColor As Int
TextSize As Float
Top As Int
Gets or sets the view's top position
Typeface As android.graphics.Typeface
Visible As Boolean
Width As Int
Gets or sets the view's width
Wrap As Boolean [write only]

DSNavigationDrawer


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

DrawerClosed (DrawerGravity as Int)
DrawerOpened (DrawerGravity as Int)
DrawerSlide (Position As Float, DrawerGravity as Int)
DrawerStateChanged (State as Int)
NavigationItemSelected (MenuItem as ACMenuItem, DrawerGravity as Int)

Members:


  AddSecondaryDrawer (Width As Int, Gravity As Int)

  CloseDrawer

  CloseDrawer2 (Gravity As Int)

  CloseDrawers

  DefaultDrawerWidth As Int [read only]

  DefaultHeaderHeight As Int [read only]

  DRAWERSTATE_DRAGGING As Int

  DRAWERSTATE_IDLE As Int

  DRAWERSTATE_SETTLING As Int

  getDefaultHeaderHeight2 (SecondaryDrawer As Boolean) As Int

  GetLockMode (Gravity As Int) As Int

  GRAVITY_END As Int

  GRAVITY_START As Int

  InitDrawerToggle

  Initialize (EventName As String, Activity As PanelWrapper, NavWidth As Int)

  Initialize2 (EventName As String, Activity As PanelWrapper, NavWidth As Int, Gravity As Int)

  IsDrawerOpen As Boolean

  IsDrawerOpen2 (Gravity As Int) As Boolean

  LOCK_MODE_LOCKED_CLOSED As Int

  LOCK_MODE_LOCKED_OPEN As Int

  LOCK_MODE_UNLOCKED As Int

  NavigationView As DSNavigationView [read only]

  OpenDrawer

  OpenDrawer2 (Gravity As Int)

  SecondaryNavigationView As DSNavigationView [read only]

  SetLockMode (Gravity As Int, LockMode As Int)

  SyncState

Members description:

AddSecondaryDrawer (Width As Int, Gravity As Int)
Add a second drawer to the NavigationDrawer. Only two drawers are supported.

Width - width of the new navigation drawer
Gravity - gravity for the drawer
CloseDrawer
Closes the Drawer
CloseDrawer2 (Gravity As Int)
Closes the Drawer with the given gravity.

Gravity - Gravity of the drawer
CloseDrawers
Close all opened NavigationDrawers
DefaultDrawerWidth As Int [read only]
Returns the default navigation drawer width for the device and current screen resolution.
DefaultHeaderHeight As Int [read only]
Returns the default height for the header view calculated with a 16:9 ratio and the default navigation drawer width.
DRAWERSTATE_DRAGGING As Int
DRAWERSTATE_IDLE As Int
DRAWERSTATE_SETTLING As Int
getDefaultHeaderHeight2 (SecondaryDrawer As Boolean) As Int
Get the default header height for the primary or secondary drawer.
GetLockMode (Gravity As Int) As Int
Get the LockMode of the drawer. You can unlock it or lock it in open or closed state.

Gravity - Gravity of the drawer
LockMode - Locking mode
GRAVITY_END As Int
GRAVITY_START As Int
InitDrawerToggle
Initialize the DrawerToggle item. This enables the DrawerToggle 3 lines to back arrow animation in
the Toolbar.
Initialize (EventName As String, Activity As PanelWrapper, NavWidth As Int)
Initializes the navigation drawer. The gravity for the drawer is GRAVITY_START.

EventName - Name of the event
Panel - Parent panel for the navigation drawer.
NavWidth - The width of the navigation panel.
Initialize2 (EventName As String, Activity As PanelWrapper, NavWidth As Int, Gravity As Int)
Initializes the navigation drawer with the given gravity.

EventName - Name of the event
Panel - Parent panel for the navigation drawer.
NavWidth - The width of the navigation panel.
Gravity - The Gravity for the drawer (START, END, LEFT, RIGHT)
IsDrawerOpen As Boolean
Check if the drawer is open.
IsDrawerOpen2 (Gravity As Int) As Boolean
Check if the drawer is open.

Gravity - Gravity of the drawer
LOCK_MODE_LOCKED_CLOSED As Int
LOCK_MODE_LOCKED_OPEN As Int
LOCK_MODE_UNLOCKED As Int
NavigationView As DSNavigationView [read only]
Gets the primary NavigationView
OpenDrawer
Opens the Drawer
OpenDrawer2 (Gravity As Int)
Opens the Drawer with the given gravity.

Gravity - Gravity of the drawer
SecondaryNavigationView As DSNavigationView [read only]
Gets the secondary NavigationView
SetLockMode (Gravity As Int, LockMode As Int)
Set the LockMode of the drawer. You can unlock it or lock it in open or closed state.

Gravity - Gravity of the drawer
LockMode - Locking mode
SyncState
Sync the state of the Drawertoggle with the current state of the Drawer(s).

DSNavigationView


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

NavigationItemSelected(MenuItem as ACMenuItem)

Members:


  AddHeaderView (HeaderView As android.view.View, Height As Int)

  Background As android.graphics.drawable.Drawable

  BringToFront

  CheckedItem As Int [write only]

  Color As Int [write only]

  DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)

  Enabled As Boolean

  GetHeaderView (Index As Int) As android.view.View

  HeaderCount As Int [read only]

  Height As Int

  Initialize (EventName As String)

  Invalidate

  Invalidate2 (Rect As android.graphics.Rect)

  Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)

  IsInitialized As Boolean

  ItemBackground As android.graphics.drawable.Drawable [write only]

  ItemIconColor As Int [write only]

  ItemTextColor As Int [write only]

  Left As Int

  LoadLayout (LayoutFile As String, Height As Int)

  Menu As de.amberhome.objects.appcompat.ACMenuWrapper [read only]

  Parent As Object [read only]

  RemoveHeaderView (Index As Int)

  RemoveView

  RequestFocus As Boolean

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

  SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)

  SetItemIconColors (DefaultColor As Int, PressedColor As Int, CheckedColor As Int, DisabledColor As Int)

  SetItemTextColors (DefaultColor As Int, PressedColor As Int, CheckedColor As Int, DisabledColor As Int)

  SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)

  SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)

  SetVisibleAnimated (Duration As Int, Visible As Boolean)

  Tag As Object

  Top As Int

  Visible As Boolean

  Width As Int

Members description:

AddHeaderView (HeaderView As android.view.View, Height As Int)
Set a Header View

HeaderView - A View like a Panel which holds the header items.
Height - The height of the HeaderView. Pass 0 for the default header height.
Background As android.graphics.drawable.Drawable
BringToFront
CheckedItem As Int [write only]
Make the menu entry with this Id the selected one
Color As Int [write only]
DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)
This method is only for the B4A Designer. Don't call it directly
Enabled As Boolean
GetHeaderView (Index As Int) As android.view.View
Get an added Header View
HeaderCount As Int [read only]
Gets the Header View count
Height As Int
Gets or sets the view's height
Initialize (EventName As String)
Initializes the object
Invalidate
Invalidate2 (Rect As android.graphics.Rect)
Invalidate a rectangualar part of the object
Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
Invalidate part of the object
IsInitialized As Boolean
ItemBackground As android.graphics.drawable.Drawable [write only]
Set the Item background. Using a StateListDrawable is possible here.
ItemIconColor As Int [write only]
Set the icon color of the items, regardless of its state.
ItemTextColor As Int [write only]
Set the text color of the items, regardless of its state.
Left As Int
Gets or sets the view's left position
LoadLayout (LayoutFile As String, Height As Int)
Add a Header to the NavigationView using a B4A Layout file. The width will always be the NavigationDrawer width.

LayoutFile - A B4A Layoutfile with the header contents.
Height - The height of the HeaderView. Pass 0 for the default header height.
Menu As de.amberhome.objects.appcompat.ACMenuWrapper [read only]
Returns the ACMenu object to access the NavigationView Menu.
Parent As Object [read only]
RemoveHeaderView (Index As Int)
Remove a previously added Header view
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
Animate the color to a new value
SetItemIconColors (DefaultColor As Int, PressedColor As Int, CheckedColor As Int, DisabledColor As Int)
Set the icon colors of the items, using different colors for the states.
SetItemTextColors (DefaultColor As Int, PressedColor As Int, CheckedColor As Int, DisabledColor As Int)
Set the text colors of the items, using different colors for the states.
SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
Changes the View position and size.
SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)
Similar to SetLayout. Animates the change. Note that the animation will only be applied when running on Android 3+ devices.

Duration - duration of the layout change
SetVisibleAnimated (Duration As Int, Visible As Boolean)
Fade the view in or out
Tag As Object
Top As Int
Gets or sets the view's top position
Visible As Boolean
Width As Int
Gets or sets the view's width

DSSnackbar


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

Click()

Members:


  Dismiss

  Duration As Int

  DURATION_LONG As Int

  DURATION_SHORT As Int

  Initialize (EventName As String, Parent As android.view.View, Text As String, Duration As Int)

  isInitialized As Boolean

  SetAction (Text As String)

  Show

  Text As String [write only]

  View As android.view.View [read only]

Members description:

Dismiss
Dismiss the Snackbar
Duration As Int
Sets or gets the duration how long the Snackbar will be shown
DURATION_LONG As Int
DURATION_SHORT As Int
Initialize (EventName As String, Parent As android.view.View, Text As String, Duration As Int)
Initializes a Snackbar. A snackbar always has a parent view which can be the Activity or a panel.

EventName - Name for the click event for the (optional) action
Parent - parent view. (The Activity or a Panel)
Text - text to show.
Duration - DURATION_SHORT, DURATION_LONG or a time in milliseconds.
isInitialized As Boolean
Check if the object is initialized
SetAction (Text As String)
Sets the (optional) action for the Snackbar
Show
Shows the Snackbar
Text As String [write only]
Update the text for the Snackbar.
View As android.view.View [read only]
Returns the base view for the Snackbar. This can be the main Activity or
a Panel.

DSTabLayout


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

TabSelected(Index as int, SelectedTab as String, Tag as Object)

Members:


  AddTab (Text As String, Icon As android.graphics.drawable.Drawable, Tag As Object)

  AddTab2 (Text As String, Icon As android.graphics.drawable.Drawable, Tag As Object, Position As Int, Selected As Boolean)

  Background As android.graphics.drawable.Drawable

  BringToFront

  Color As Int [write only]

  DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)

  Elevation As Float

  Enabled As Boolean

  GetTabTag (Index As Int) As Object

  GetTabText (Index As Int) As String

  GRAVITY_CENTER As Int

  GRAVITY_FILL As Int

  Height As Int

  Initialize (EventName As String)

  Invalidate

  Invalidate2 (Rect As android.graphics.Rect)

  Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)

  IsInitialized As Boolean

  Left As Int

  MODE_FIXED As Int

  MODE_SCROLLABLE As Int

  Parent As Object [read only]

  RemoveAllTabs

  RemoveTabAt (Index As Int)

  RemoveView

  RequestFocus As Boolean

  SelectTab (Position As Int)

  SendToBack

  SetBackgroundImage (arg0 As android.graphics.Bitmap)

  SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)

  SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)

  SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)

  SetTabCustomView (Index As Int, CustomView As android.view.View)

  SetTabIcon (Index As Int, Icon As android.graphics.drawable.Drawable)

  SetTabsFromContainer (Container As de.amberhome.viewpager.AHPageContainer)

  SetTabTag (Index As Int, Tag As Object)

  SetTabText (Index As Int, Text As String)

  SetTabTextColors (NormalColor As Int, SelectedColor As Int)

  SetViewPager (Pager As de.amberhome.viewpager.AHViewPager)

  SetVisibleAnimated (Duration As Int, Visible As Boolean)

  TabCount As Int [read only]

  TabGravity As Int

  TabIndicatorColor As Int [write only]

  TabIndicatorHeight As Int [write only]

  TabMode As Int

  Tag As Object

  Top As Int

  Visible As Boolean

  Width As Int

Members description:

AddTab (Text As String, Icon As android.graphics.drawable.Drawable, Tag As Object)
Add a Tab to the TabLayout.

Text - Text for the Tab Icon - Icon for the Tab (optional) Tag - Tag for
the Tab (optional)
AddTab2 (Text As String, Icon As android.graphics.drawable.Drawable, Tag As Object, Position As Int, Selected As Boolean)
Add a Tab to the TabLayout.

Text - Text for the Tab Icon - Icon for the Tab (optional) Tag - Tag for
the Tab (optional)
Background As android.graphics.drawable.Drawable
BringToFront
Color As Int [write only]
DesignerCreateView (base As PanelWrapper, label As LabelWrapper, props As Map)
This method is only for the B4A Designer. Don't call it directly
Elevation As Float
Sets or gets the Elevation
Enabled As Boolean
GetTabTag (Index As Int) As Object
Get the tag value from a Tab.
GetTabText (Index As Int) As String
Get the Tab text.
GRAVITY_CENTER As Int
GRAVITY_FILL As Int
Height As Int
Gets or sets the view's height
Initialize (EventName As String)
Initializes the object
Invalidate
Invalidate2 (Rect As android.graphics.Rect)
Invalidate a rectangualar part of the object
Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
Invalidate part of the object
IsInitialized As Boolean
Left As Int
Gets or sets the view's left position
MODE_FIXED As Int
MODE_SCROLLABLE As Int
Parent As Object [read only]
RemoveAllTabs
Remove all Tabs
RemoveTabAt (Index As Int)
Remove a Tab
RemoveView
RequestFocus As Boolean
SelectTab (Position As Int)
Make a tab selected
SendToBack
SetBackgroundImage (arg0 As android.graphics.Bitmap)
SetColorAnimated (Duration As Int, FromColor As Int, ToColor As Int)
Animate the color to a new value
SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
Changes the View position and size.
SetLayoutAnimated (Duration As Int, Left As Int, Top As Int, Width As Int, Height As Int)
Similar to SetLayout. Animates the change. Note that the animation will only be applied when running on Android 3+ devices.

Duration - duration of the layout change
SetTabCustomView (Index As Int, CustomView As android.view.View)
Set a Custom View for a Tab
SetTabIcon (Index As Int, Icon As android.graphics.drawable.Drawable)
Set the Tabs Icon
SetTabsFromContainer (Container As de.amberhome.viewpager.AHPageContainer)
Setup the Tabs from a PageContainer (AHViewPager library)
SetTabTag (Index As Int, Tag As Object)
Set a tag value for the Tab.
SetTabText (Index As Int, Text As String)
Set the Tab text.
SetTabTextColors (NormalColor As Int, SelectedColor As Int)
Set the Colors for a Tab.
SetViewPager (Pager As de.amberhome.viewpager.AHViewPager)
Connect the Tabs with a ViewPager (AHViewPager library)
SetVisibleAnimated (Duration As Int, Visible As Boolean)
Fade the view in or out
TabCount As Int [read only]
Get Number of Tabs in the TabLayout.
TabGravity As Int
Set Tab Gravity (GRAVITY_FILL or GRAVITY_CENTER)
TabIndicatorColor As Int [write only]
Sets the indicator color for the selected tab
TabIndicatorHeight As Int [write only]
Sets the indicator height of the selected tab
TabMode As Int
Set the Tab Mode (MODE_FIXED or MODE_SCROLLABLE)
Tag As Object
Top As Int
Gets or sets the view's top position
Visible As Boolean
Width As Int
Gets or sets the view's width
Top