Class CircleScroller
Definition
- Assembly:
- ElmSharp.Wearable.dll
Circle scroller provides the scrollbar with a circular movement, and is scrolled by the Rotary event.
public class CircleScroller : Scroller, IAccessibleObject, IRotaryActionWidget, ICircleWidget
- Inheritance
- Implements
Constructors
View SourceCircleScroller(EvasObject, CircleSurface)
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. |
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 |
HorizontalScrollBackgroundColor
Sets or gets the color of the horizontal scroll background.
Declaration
public Color HorizontalScrollBackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
HorizontalScrollBackgroundLineWidth
Sets or gets the line width of the horizontal scroll background.
Declaration
public int HorizontalScrollBackgroundLineWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HorizontalScrollBackgroundRadius
Sets or gets the radius of the horizontal scroll background.
Declaration
public double HorizontalScrollBackgroundRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HorizontalScrollBarColor
Sets or gets the color of the horizontal scroll bar.
Declaration
public Color HorizontalScrollBarColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
HorizontalScrollBarLineWidth
Sets or gets the line width of the horizontal scroll bar.
Declaration
public int HorizontalScrollBarLineWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HorizontalScrollBarRadius
Sets or gets the radius of the horizontal scroll bar.
Declaration
public double HorizontalScrollBarRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HorizontalScrollBarVisiblePolicy
Sets or gets the value of HorizontalScrollBarVisiblePolicy.
Declaration
public override ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| ScrollBarVisiblePolicy |
Overrides
Remarks
ScrollBarVisiblePolicy.Auto means the horizontal scrollbar is made visible if it is needed, otherwise kept hidden. ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
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 SourceVerticalScrollBackgroundColor
Sets or gets the color of the vertical scroll background.
Declaration
public Color VerticalScrollBackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
VerticalScrollBackgroundLineWidth
Sets or gets the line width of the vertical scroll background.
Declaration
public int VerticalScrollBackgroundLineWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
VerticalScrollBackgroundRadius
Sets or gets the radius of the vertical scroll background.
Declaration
public double VerticalScrollBackgroundRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
VerticalScrollBarColor
Sets or gets the color of the vertical scroll bar.
Declaration
public Color VerticalScrollBarColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
VerticalScrollBarLineWidth
Sets or gets the line width of the vertical scroll bar.
Declaration
public int VerticalScrollBarLineWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
VerticalScrollBarRadius
Sets or gets the radius of the vertical scroll bar.
Declaration
public double VerticalScrollBarRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
VerticalScrollBarVisiblePolicy
Sets or gets the value of VerticalScrollBarVisiblePolicy.
Declaration
public override ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| ScrollBarVisiblePolicy |
Overrides
Remarks
ScrollBarVisiblePolicy.Auto means the vertical scrollbar is made visible if it is needed, otherwise kept hidden. ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
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. |