-
Notifications
You must be signed in to change notification settings - Fork 4
Supported Android widgets and properties
Sasa Sekulic edited this page Mar 25, 2016
·
4 revisions
Here's the list of the currently supported Android widgets and properties (these are binding names, it should be pretty self-explanatory what they do):
- Button: BackgroundColor, TextColor, TextColorState, Click, Typeface, Text
- EditText: Typeface, TextColor (int), TextColorState(ColorStateList), BackgroundColor(int), TextString - HorizontalScrollView
- ImageView: Source, Click, LongClick, Drawable, Resource
- LinearLayout: Click, Background (drawable), BackgroundColor(int), BackgroundResource(int)
- RelativeLayout: Click, Background (drawable), BackgroundColor(int), BackgroundResource(int)
- ScrollView
- Seekbar: ProgressTrackBegin, ProgressTrackEnd, ProgressTrackChanged
- Switch: Click
- TextView: Click, LongClick, Typeface, TextColor (int), TextColorState(ColorStateList), BackgroundColor(int)
- ToggleButton: Click
- VideoView: Source (url)
There's also support for **GridView **and ListView:
- GridView: ItemTemplate(int), Click, LongClick, ItemsSource(List<>), ItemClick, ItemLongClick
- ListView: ItemTemplate(int), ListHeaderTemplate(int), ListFooterTemplate(int), Click, LongClick, ItemsSource(List<>), ItemClick, ItemLongClick
All widgets support Visibility
property, usable through ToVisibility()
converter, like this: { Visibility @= ToVisibility(TextViewVisible) }