Class RotarySelector
Definition
- Assembly:
- ElmSharp.Wearable.dll
The RotarySelector is a widget to display a selector and multiple items surrounding the selector. An item can be selected by the Rotary event or user item click. Inherits Layout.
[Obsolete("This has been deprecated in API12")]
public class RotarySelector : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceRotarySelector(EvasObject)
Creates and initializes a new instance of the Rotary Selector class.
Declaration
[Obsolete("This has been deprecated in API12")]
public RotarySelector(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent of the new Rotary Selector instance. |
Properties
View SourceBackgroundImage
Sets or gets the background image of a rotary selector object.
Declaration
[Obsolete("This has been deprecated in API12")]
public Image BackgroundImage { get; set; }
Property Value
Type | Description |
---|---|
Image |
Items
Gets the rotary selector item list of a rotary selector object.
Declaration
[Obsolete("This has been deprecated in API12")]
public IList<RotarySelectorItem> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><RotarySelectorItem> |
SelectedItem
Sets or gets the selected item of a rotary selector object.
Declaration
[Obsolete("This has been deprecated in API12")]
public RotarySelectorItem SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
RotarySelectorItem |
Methods
View SourceCreateHandle(EvasObject)
Creates a widget handle.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
Events
View SourceClicked
Clicked will be triggered when selecting again the already selected item or selecting a selector.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler<RotarySelectorItemEventArgs> Clicked
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><RotarySelectorItemEventArgs> |
Selected
Selected will be triggered when selecting an item.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler<RotarySelectorItemEventArgs> Selected
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><RotarySelectorItemEventArgs> |