menu

Xamarin.iOS

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

    Show / Hide Table of Contents

    Class SFDigitalGauge

    Inheritance
    System.Object
    SFDigitalGauge
    Implements
    System.ComponentModel.IComponent
    System.IDisposable
    Namespace: Syncfusion.SfGauge.iOS
    Assembly: Syncfusion.SfGauge.iOS.dll
    Syntax
    public class SFDigitalGauge : UIView, IComponent, IDisposable

    Constructors

    SFDigitalGauge()

    Declaration
    public SFDigitalGauge()

    SFDigitalGauge(CGRect)

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

    SFDigitalGauge(NSCoder)

    Declaration
    public SFDigitalGauge(NSCoder coder)
    Parameters
    Type Name Description
    Foundation.NSCoder coder

    SFDigitalGauge(IntPtr)

    Initializes a new instance of the SFDigitalGauge class.

    Declaration
    public SFDigitalGauge(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    The handle

    Properties

    CharacterColor

    Gets or sets segment color for each character

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

    The color of the character.

    CharacterHeight

    Gets or sets Character Height for each character of Digital Gauge.

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

    The height of the character.

    CharactersSpacing

    Gets or sets space between each character

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

    The characters spacing.

    CharacterType

    Gets or sets the Character Type to display in view

    Declaration
    public SFDigitalGaugeCharacterType CharacterType { get; set; }
    Property Value
    Type Description
    SFDigitalGaugeCharacterType

    CharacterWidth

    Gets or sets Character Width for each character of Digital Gauge

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

    The width of the character.

    DimmedSegmentAlpha

    Gets or sets the Alpha values for Disabled segment color

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

    The dimmed segment alpha.

    DimmedSegmentColor

    Gets or sets segment color for disabled segment in each character

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

    The color of the dimmed segment.

    HorizontalPadding

    Gets or sets Horizontal padding in Digital Gauge Frame

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

    The horizontal padding.

    SegmentWidth

    Gets or sets segment width for each character's segment

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

    The width of the segment.

    Site

    Gets or sets site

    Declaration
    public ISite Site { get; set; }
    Property Value
    Type Description
    System.ComponentModel.ISite

    StrokeType

    Gets or sets Stroke type to change the view of character edges

    Declaration
    public SFDigitalGaugeStrokeType StrokeType { get; set; }
    Property Value
    Type Description
    SFDigitalGaugeStrokeType

    The type of the stroke.

    Value

    Gets or sets string value to Display in Digital Gauge frame

    Declaration
    public NSString Value { get; set; }
    Property Value
    Type Description
    Foundation.NSString

    The value.

    VerticalPadding

    Gets or sets Vertical padding in Digital Gauge Frame

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

    The vertical padding.

    Methods

    AwakeFromNib()

    Method used for designer

    Declaration
    public override void AwakeFromNib()

    Draw(CGRect)

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

    MovedToSuperview()

    Declaration
    public override void MovedToSuperview()

    Events

    didValueChanged

    Declaration
    public event EventHandler<DigitalGaugeEventArgs> didValueChanged
    Event Type
    Type Description
    System.EventHandler<DigitalGaugeEventArgs>

    Disposed

    Gets or sets the dispose.

    Declaration
    public event EventHandler Disposed
    Event Type
    Type Description
    System.EventHandler

    ValueChanged

    Declaration
    public event EventHandler<DigitalGaugeEventArgs> ValueChanged
    Event Type
    Type Description
    System.EventHandler<DigitalGaugeEventArgs>

    Implements

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