ToggleButton

A ToggleButton view is similar to a button but has two modes: ON and OFF.

Events:

CheckedChange(Checked As Boolean)

Members:

Background As android.graphics.drawable.Drawable
 BringToFront
 Checked As Boolean
 Color As Int  [write only]
 Enabled As Boolean
 Gravity 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
 RemoveView
 RequestFocus As Boolean
 SendToBack
 SetBackgroundImage (Bitmap As android.graphics.Bitmap)
 SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
 Tag As Object
 TextColor As Int
 TextOff As String
 TextOn As String
 TextSize As Float
 Top As Int
 Typeface As android.graphics.Typeface
 Visible As Boolean
 Width As Int