menu

Xamarin.iOS

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

    Show / Hide Table of Contents

    Class SFCircularPointer

    Inheritance
    System.Object
    SFCircularPointer
    SFMarkerPointer
    SFNeedlePointer
    SFRangePointer
    Namespace: Syncfusion.SfGauge.iOS
    Assembly: Syncfusion.SfGauge.iOS.dll
    Syntax
    public class SFCircularPointer : UIView

    Constructors

    SFCircularPointer()

    Declaration
    public SFCircularPointer()

    SFCircularPointer(CGRect)

    Declaration
    public SFCircularPointer(CGRect frame)
    Parameters
    Type Name Description
    CoreGraphics.CGRect frame

    Properties

    AnimationDuration

    Gets or sets animation duration of the pointer

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

    Color

    Gets or sets the color of the pointer

    Declaration
    public UIColor Color { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    EnableAnimation

    Gets or sets a value indicating whether to enable/disable the pointer animation

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

    KnobColor

    Declaration
    public UIColor KnobColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    KnobRadius

    Declaration
    public nfloat KnobRadius { get; set; }
    Property Value
    Type Description
    System.nfloat

    KnobRadiusFactor

    Declaration
    public nfloat KnobRadiusFactor { get; set; }
    Property Value
    Type Description
    System.nfloat

    LengthFactor

    Declaration
    public nfloat LengthFactor { get; set; }
    Property Value
    Type Description
    System.nfloat

    PointerType

    Declaration
    public SFCiruclarGaugePointerType PointerType { get; set; }
    Property Value
    Type Description
    SFCiruclarGaugePointerType

    Radius

    Declaration
    public nfloat Radius { get; set; }
    Property Value
    Type Description
    System.nfloat

    UpdateEndValue

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

    Value

    Gets or sets the value to which the pointer should point

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

    Width

    Gets or sets the width of the Pointer

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

    Methods

    Draw(CGRect)

    Declaration
    public override void Draw(CGRect area)
    Parameters
    Type Name Description
    CoreGraphics.CGRect area

    Events

    ValueChangeCompleted

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

    Declaration
    public event EventHandler<SFCircularPointer.PointerValueChangedEventArgs> ValueChangeCompleted
    Event Type
    Type Description
    System.EventHandler<SFCircularPointer.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<SFCircularPointer.PointerValueChangedEventArgs> ValueChangeStarted
    Event Type
    Type Description
    System.EventHandler<SFCircularPointer.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<SFCircularPointer.PointerValueChangingEventArgs> ValueChanging
    Event Type
    Type Description
    System.EventHandler<SFCircularPointer.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