StackView
StackView
Methods:
- BringToFront
- GetDisplayedChild As Int
Get the index of the currently displayed View.
- Initialize
Initialize the StackView.
The StackView will be constructed using code methods.
- Initialize2 (LayoutName As String)
Initialize the StackView.
The StackView is inflated from an XML layout file.
LayoutName should be the name of that layout file (with no .xml extension).
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetAdapter (Adapter1 As Adapter)
Set the Adapter that will provide Views to the StackView.
- SetBackgroundImage (arg0 As Bitmap)
- SetDisplayedChild (Position As Int)
Set the index of the currently displayed View.
- SetEmptyView (View1 As View)
Sets the View to show if the Adapter is empty.
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- ShowNext
Show the next View.
- ShowPrevious
Show the previous View.
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
StackViewPanelAdapter
Events:
- GetView (Panel1 As Panel, Position As Int) As Panel
Methods:
- Clear
Clear the number of Views the Adapter will provide to the StackView.
Equivalent to SetCount(0).
- GetCount As Int
Get the number of Views the Adapter will provide to the StackView.
- Initialize (EventName As String)
Initialize the StackViewAdapter.
- IsInitialized As Boolean
- SetCount (Count As Int)
Set the number of Views the Adapter will provide to the StackView.
StackViewViewAdapter
Events:
- GetView (Position As Int) As View
Methods:
- Clear
Clear the number of Views the Adapter will provide to the StackView.
Equivalent to SetCount(0).
- GetCount As Int
Get the number of Views the Adapter will provide to the StackView.
- Initialize (EventName As String)
Initialize the StackViewAdapter.
- IsInitialized As Boolean
- SetCount (Count As Int)
Set the number of Views the Adapter will provide to the StackView.