menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGaugeEventDependencyService - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGaugeEventDependencyService

    Represents the gauge event dependency service. This interface allows apps to call into platform-specific functionality from shared code.

    Namespace: Syncfusion.SfGauge.XForms
    Assembly: Syncfusion.SfGauge.XForms.dll
    Syntax
    public interface IGaugeEventDependencyService

    Methods

    GetStreamAsync(SfCircularGauge)

    This method is used to export the circular gauge as stream.

    Declaration
    Task<Stream> GetStreamAsync(SfCircularGauge gauge)
    Parameters
    Type Name Description
    SfCircularGauge gauge

    It contains the circular gauge.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.IO.Stream>

    It will return the circular gauge as stream asynchronously.

    SaveAsImage(String, SfCircularGauge)

    This method is used to save circular gauge as image.

    Declaration
    void SaveAsImage(string fileName, SfCircularGauge gauge)
    Parameters
    Type Name Description
    System.String fileName

    It contains the file name for the image.

    SfCircularGauge gauge

    It contains the circular gauge.

    SubscribeLabelCreatedEvent(Scale, Object)

    To subscribe the label created event.

    Declaration
    void SubscribeLabelCreatedEvent(Scale scale, object nativeObject)
    Parameters
    Type Name Description
    Scale scale

    Scale.

    System.Object nativeObject

    Native Object.

    UnSubscribeLabelCreatedEvent(Scale, Object)

    To unsubscribe the label subcribed event.

    Declaration
    void UnSubscribeLabelCreatedEvent(Scale scale, object nativeObject)
    Parameters
    Type Name Description
    Scale scale

    Scale.

    System.Object nativeObject

    Native Object.

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