menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CircularPointer - API Reference

    Show / Hide Table of Contents

    Class CircularPointer

    Represents Pointer for the Circular Gauge

    Inheritance
    System.Object
    CircularPointer
    MarkerPointer
    NeedlePointer
    RangePointer
    Namespace: Com.Syncfusion.Gauges.SfCircularGauge
    Assembly: Syncfusion.SfGauge.Android.dll
    Syntax
    public class CircularPointer : Object
    Remarks

    CircularPointer is the base class for needle and range pointers

    Constructors

    CircularPointer()

    Declaration
    public CircularPointer()

    Properties

    AnimationDuration

    Gets or sets the animation duration

    Declaration
    public double AnimationDuration { get; set; }
    Property Value
    Type Description
    System.Double

    Color

    Gets or sets the color of the mCircularPointer

    Declaration
    public int Color { get; set; }
    Property Value
    Type Description
    System.Int32

    EnableAnimation

    Gets or sets a value indicating whether to enable animation or not

    Declaration
    public bool EnableAnimation { get; set; }
    Property Value
    Type Description
    System.Boolean

    Value

    Gets or sets the value for the mCircularPointer

    Declaration
    public double Value { get; set; }
    Property Value
    Type Description
    System.Double

    Width

    Gets or sets the width of needle mCircularPointer

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Events

    PointerPositionChangedEvent

    To initialize event PointerPositionChanged

    Declaration
    public event EventHandler<CircularPointer.PointerPositionChangedEventArgs> PointerPositionChangedEvent
    Event Type
    Type Description
    System.EventHandler<CircularPointer.PointerPositionChangedEventArgs>

    ValueChangeCompleted

    Called when the user is done selecting a new value of the pointer by dragging.

    Declaration
    public event EventHandler<CircularPointer.PointerValueChangedEventArgs> ValueChangeCompleted
    Event Type
    Type Description
    System.EventHandler<CircularPointer.PointerValueChangedEventArgs>
    Remarks

    This event shouldn't be used to update the pointer value (use PointerPositionChanged event for that), but rather to know when the user has completed selecting a new value by ending a drag.

    ValueChangeStarted

    Called when the user starts selecting a new value of pointer by dragging.

    Declaration
    public event EventHandler<CircularPointer.PointerValueChangedEventArgs> ValueChangeStarted
    Event Type
    Type Description
    System.EventHandler<CircularPointer.PointerValueChangedEventArgs>
    Remarks

    This event shouldn't be used to update the pointer value (use PointerPositionChanged event for that), but rather to be notified when the user has started selecting a new value by starting a drag. The value passed will be the last value that the pointer had before the change began.

    ValueChanging

    Called during a drag when the user is selecting before a new value for the pointer by dragging.

    Declaration
    public event EventHandler<CircularPointer.PointerValueChangingEventArgs> ValueChanging
    Event Type
    Type Description
    System.EventHandler<CircularPointer.PointerValueChangingEventArgs>
    Remarks

    This event shouldn't be used to update the pointer value (use PointerPositionChanged event for that), but rather it will show the old value and new value of the pointer.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved