Class CircleDateTimeSelector
Definition
- Assembly:
- ElmSharp.Wearable.dll
The Circle DateTime Selector is a widget to display and handle datetime value by the Rotary event. Inherits DateTimeSelector.
public class CircleDateTimeSelector : DateTimeSelector, IAccessibleObject, IRotaryActionWidget, ICircleWidget
- Inheritance
- Implements
Constructors
View SourceCircleDateTimeSelector(EvasObject, CircleSurface)
Creates and initializes a new instance of the Circle DateTime class.
Declaration
public CircleDateTimeSelector(EvasObject parent, CircleSurface surface)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent of the new Circle DateTime instance. |
CircleSurface | surface | The surface for drawing circle features for this widget. |
Properties
View SourceCircleHandle
Gets the handle for the Circle widget.
Declaration
public virtual IntPtr CircleHandle { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
CircleSurface
Gets the handle for the circle surface used in this widget.
Declaration
public virtual CircleSurface CircleSurface { get; }
Property Value
Type | Description |
---|---|
CircleSurface |
IsEnabled
Sets or gets the state of the widget, which might be enabled or disabled.
Declaration
public override bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
View SourceMarkerColor
Sets or gets the color of the marker.
Declaration
public Color MarkerColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Remarks
MarkerColor is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
MarkerLineWidth
Sets or gets the line width of the marker.
Declaration
public int MarkerLineWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
MarkerLineWidth is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
MarkerRadius
Sets or gets the radius at which the center of the marker lies.
Declaration
public double MarkerRadius { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
MarkerRadius is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
Methods
View SourceCreateHandle(EvasObject)
Creates a widget handle.
Declaration
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |