Definition
- Namespace:
- ElmSharp.Wearable
- Assembly:
- ElmSharp.Wearable.dll
- API Level:
- preview
Circle scroller provides the scrollbar with a circular movement, and is scrolled by the Rotary event.
public class CircleScroller : Scroller, IAccessibleObject, IRotaryActionWidget, ICircleWidget
- Inheritance
-
System.Object
CircleScroller
- Implements
-
Constructors
View Source
Creates and initializes a new instance of the CircleScroller class.
Declaration
public CircleScroller(EvasObject parent, CircleSurface surface)
Parameters
Type |
Name |
Description |
EvasObject |
parent |
The EvasObject to which the new CircleScroller will be attached as a child.
|
CircleSurface |
surface |
The surface for drawing circle features for this widget.
|
API Level: preview
Properties
Declaration
public virtual IntPtr CircleHandle { get; }
Property Value
Type |
Description |
System.IntPtr |
|
API Level: preview
View Source
Gets the handle for the circle surface used in this widget.
Declaration
public virtual CircleSurface CircleSurface { get; }
Property Value
API Level: preview
View Source
Sets or gets the color of the horizontal scroll background.
Declaration
public Color HorizontalScrollBackgroundColor { get; set; }
Property Value
API Level: preview
View Source
Sets or gets the line width of the horizontal scroll background.
Declaration
public int HorizontalScrollBackgroundLineWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: preview
View Source
Sets or gets the radius of the horizontal scroll background.
Declaration
public double HorizontalScrollBackgroundRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
API Level: preview
View Source
Sets or gets the color of the horizontal scroll bar.
Declaration
public Color HorizontalScrollBarColor { get; set; }
Property Value
API Level: preview
View Source
Sets or gets the line width of the horizontal scroll bar.
Declaration
public int HorizontalScrollBarLineWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: preview
View Source
Sets or gets the radius of the horizontal scroll bar.
Declaration
public double HorizontalScrollBarRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
API Level: preview
View Source
Sets or gets the value of HorizontalScrollBarVisiblePolicy.
Declaration
public override ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy { get; set; }
Property Value
Overrides
API Level: preview
View Source
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 |
System.Boolean |
|
Overrides
API Level: preview
View Source
Sets or gets the color of the vertical scroll background.
Declaration
public Color VerticalScrollBackgroundColor { get; set; }
Property Value
API Level: preview
View Source
Sets or gets the line width of the vertical scroll background.
Declaration
public int VerticalScrollBackgroundLineWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: preview
View Source
Sets or gets the radius of the vertical scroll background.
Declaration
public double VerticalScrollBackgroundRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
API Level: preview
View Source
Sets or gets the color of the vertical scroll bar.
Declaration
public Color VerticalScrollBarColor { get; set; }
Property Value
API Level: preview
View Source
Sets or gets the line width of the vertical scroll bar.
Declaration
public int VerticalScrollBarLineWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: preview
View Source
Sets or gets the radius of the vertical scroll bar.
Declaration
public double VerticalScrollBarRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
API Level: preview
View Source
Sets or gets the value of VerticalScrollBarVisiblePolicy.
Declaration
public override ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy { get; set; }
Property Value
Overrides
API Level: preview
Methods
Declaration
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type |
Name |
Description |
EvasObject |
parent |
Parent EvasObject.
|
Returns
Type |
Description |
System.IntPtr |
Handle IntPtr.
|
Overrides
API Level: preview
Implements
Extension Methods