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.
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. |
API Level: preview
Properties
View SourceCircleHandle
Gets the handle for the Circle widget.
Declaration
public virtual IntPtr CircleHandle { get; }
Property Value
Type | Description |
---|---|
IntPtr |
API Level: preview
View SourceCircleSurface
Gets the handle for the circle surface used in this widget.
Declaration
public virtual CircleSurface CircleSurface { get; }
Property Value
Type | Description |
---|---|
CircleSurface |
API Level: preview
View SourceHorizontalScrollBackgroundColor
Sets or gets the color of the horizontal scroll background.
Declaration
public Color HorizontalScrollBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
View SourceHorizontalScrollBackgroundLineWidth
Sets or gets the line width of the horizontal scroll background.
Declaration
public int HorizontalScrollBackgroundLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceHorizontalScrollBackgroundRadius
Sets or gets the radius of the horizontal scroll background.
Declaration
public double HorizontalScrollBackgroundRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceHorizontalScrollBarColor
Sets or gets the color of the horizontal scroll bar.
Declaration
public Color HorizontalScrollBarColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
View SourceHorizontalScrollBarLineWidth
Sets or gets the line width of the horizontal scroll bar.
Declaration
public int HorizontalScrollBarLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceHorizontalScrollBarRadius
Sets or gets the radius of the horizontal scroll bar.
Declaration
public double HorizontalScrollBarRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceHorizontalScrollBarVisiblePolicy
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.
API Level: preview
View SourceIsEnabled
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 |
---|---|
Boolean |
Overrides
API Level: preview
View SourceVerticalScrollBackgroundColor
Sets or gets the color of the vertical scroll background.
Declaration
public Color VerticalScrollBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
View SourceVerticalScrollBackgroundLineWidth
Sets or gets the line width of the vertical scroll background.
Declaration
public int VerticalScrollBackgroundLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceVerticalScrollBackgroundRadius
Sets or gets the radius of the vertical scroll background.
Declaration
public double VerticalScrollBackgroundRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceVerticalScrollBarColor
Sets or gets the color of the vertical scroll bar.
Declaration
public Color VerticalScrollBarColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
View SourceVerticalScrollBarLineWidth
Sets or gets the line width of the vertical scroll bar.
Declaration
public int VerticalScrollBarLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceVerticalScrollBarRadius
Sets or gets the radius of the vertical scroll bar.
Declaration
public double VerticalScrollBarRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceVerticalScrollBarVisiblePolicy
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.
API Level: preview
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 |
---|---|
IntPtr | Handle IntPtr. |