Class MoreOption
Definition
- Assembly:
- ElmSharp.Wearable.dll
The MoreOption is a widget composed of the toggle (cue button) and more option view that can change a visibility through the toggle. Inherits Layout
[Obsolete("This has been deprecated in API12")]
public class MoreOption : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceMoreOption(EvasObject)
Creates and initializes a new instance of the MoreOption class.
Declaration
[Obsolete("This has been deprecated in API12")]
public MoreOption(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent is a given container, which will be attached by the MoreOption as a child. It's EvasObject type. |
Properties
View SourceDirection
Sets or gets the direction of more option.
Declaration
[Obsolete("This has been deprecated in API12")]
public MoreOptionDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
MoreOptionDirection |
IsOpened
Sets or gets the visibility of the more option view.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool IsOpened { get; set; }
Property Value
Type | Description |
---|---|
bool |
Items
Sets or gets the list of the more option item.
Declaration
[Obsolete("This has been deprecated in API12")]
public IList<MoreOptionItem> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><MoreOptionItem> |
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 the user selects the already selected item again or selects a selector.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Clicked
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><MoreOptionItemEventArgs> |
Closed
Closed will be triggered when the more option view is hidden.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Closed
Event Type
Type | Description |
---|---|
System.EventHandler |
Opened
Opened will be triggered when the more option view is shown.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Opened
Event Type
Type | Description |
---|---|
System.EventHandler |
Selected
Selected will be triggered when the user selects an item.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Selected
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><MoreOptionItemEventArgs> |