UGrokItApiForms.UgiFormsSegmentedControl Class Reference
Overview
Xamarin.Forms version of the iOS UISegmentedControl
Instance Methods | |
UgiFormsSegmentedControl () | |
Initializes a new instance of the UgiFormsStatusImage class. More... | |
Properties | |
IList< string > | Segments [get, set] |
Gets or sets the array of strings that are the text for the segments More... | |
int | SelectedIndex [get, set] |
Gets or sets the index of the selected segment More... | |
Action< int > | Action [get, set] |
Gets or sets the action. More... | |
Constants | |
static readonly BindableProperty | SegmentsProperty |
BindableProperty for Segments More... | |
static readonly BindableProperty | SelectedIndexProperty |
BindableProperty for SelectedIndex More... | |
static readonly BindableProperty | ActionProperty |
BindableProperty for Action More... | |
Property Documentation
◆ Segments
|
getset |
Gets or sets the array of strings that are the text for the segments
The segments.
◆ SelectedIndex
|
getset |
Gets or sets the index of the selected segment
The index of the selected segment
◆ Action
|
getset |
Gets or sets the action.
The code to run when the segment is changed
Constructor & Destructor Documentation
◆ UgiFormsSegmentedControl()
|
inline |
Initializes a new instance of the UgiFormsStatusImage class.
Member Data Documentation
◆ SegmentsProperty
|
static |
Initial value:
= BindableProperty.Create (
propertyName: "Segments",
returnType: typeof(IList<string>),
declaringType: typeof(UgiFormsSegmentedControl),
defaultValue: null)
BindableProperty for Segments
◆ SelectedIndexProperty
|
static |
Initial value:
= BindableProperty.Create (
propertyName: "SelectedIndex",
returnType: typeof(int),
declaringType: typeof(UgiFormsSegmentedControl),
defaultValue: -1)
BindableProperty for SelectedIndex
◆ ActionProperty
|
static |
Initial value:
= BindableProperty.Create (
propertyName: "Action",
returnType: typeof(Action<int>),
declaringType: typeof(UgiFormsSegmentedControl),
defaultValue: null)
BindableProperty for Action
Copyright © 2012-2017 U Grok It, Inc. connect@UGrokIt.com U Grok It and the U Grok It logo are registered trademarks of U Grok It, Inc. All other trademarks and copyrights are the property of their respective owners |