Class CircleScroller

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.

C#
Copy
public class CircleScroller : Scroller, IAccessibleObject, IRotaryActionWidget, ICircleWidget
Inheritance
Implements

Constructors

View Source

CircleScroller(EvasObject, CircleSurface)

Creates and initializes a new instance of the CircleScroller class.

Declaration
C#
Copy
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

View Source

CircleHandle

Gets the handle for the Circle widget.

Declaration
C#
Copy
public virtual IntPtr CircleHandle { get; }
Property Value
Type Description
System.IntPtr
API Level: preview
View Source

CircleSurface

Gets the handle for the circle surface used in this widget.

Declaration
C#
Copy
public virtual CircleSurface CircleSurface { get; }
Property Value
Type Description
CircleSurface
API Level: preview
View Source

HorizontalScrollBackgroundColor

Sets or gets the color of the horizontal scroll background.

Declaration
C#
Copy
public Color HorizontalScrollBackgroundColor { get; set; }
Property Value
Type Description
Color
API Level: preview
View Source

HorizontalScrollBackgroundLineWidth

Sets or gets the line width of the horizontal scroll background.

Declaration
C#
Copy
public int HorizontalScrollBackgroundLineWidth { get; set; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

HorizontalScrollBackgroundRadius

Sets or gets the radius of the horizontal scroll background.

Declaration
C#
Copy
public double HorizontalScrollBackgroundRadius { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

HorizontalScrollBarColor

Sets or gets the color of the horizontal scroll bar.

Declaration
C#
Copy
public Color HorizontalScrollBarColor { get; set; }
Property Value
Type Description
Color
API Level: preview
View Source

HorizontalScrollBarLineWidth

Sets or gets the line width of the horizontal scroll bar.

Declaration
C#
Copy
public int HorizontalScrollBarLineWidth { get; set; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

HorizontalScrollBarRadius

Sets or gets the radius of the horizontal scroll bar.

Declaration
C#
Copy
public double HorizontalScrollBarRadius { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

HorizontalScrollBarVisiblePolicy

Sets or gets the value of HorizontalScrollBarVisiblePolicy.

Declaration
C#
Copy
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.

API Level: preview
View Source

IsEnabled

Sets or gets the state of the widget, which might be enabled or disabled.

Declaration
C#
Copy
public override bool IsEnabled { get; set; }
Property Value
Type Description
Boolean
Overrides
API Level: preview
View Source

VerticalScrollBackgroundColor

Sets or gets the color of the vertical scroll background.

Declaration
C#
Copy
public Color VerticalScrollBackgroundColor { get; set; }
Property Value
Type Description
Color
API Level: preview
View Source

VerticalScrollBackgroundLineWidth

Sets or gets the line width of the vertical scroll background.

Declaration
C#
Copy
public int VerticalScrollBackgroundLineWidth { get; set; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

VerticalScrollBackgroundRadius

Sets or gets the radius of the vertical scroll background.

Declaration
C#
Copy
public double VerticalScrollBackgroundRadius { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

VerticalScrollBarColor

Sets or gets the color of the vertical scroll bar.

Declaration
C#
Copy
public Color VerticalScrollBarColor { get; set; }
Property Value
Type Description
Color
API Level: preview
View Source

VerticalScrollBarLineWidth

Sets or gets the line width of the vertical scroll bar.

Declaration
C#
Copy
public int VerticalScrollBarLineWidth { get; set; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

VerticalScrollBarRadius

Sets or gets the radius of the vertical scroll bar.

Declaration
C#
Copy
public double VerticalScrollBarRadius { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

VerticalScrollBarVisiblePolicy

Sets or gets the value of VerticalScrollBarVisiblePolicy.

Declaration
C#
Copy
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.

API Level: preview

Methods

View Source

CreateHandle(EvasObject)

Creates a widget handle.

Declaration
C#
Copy
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