menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class DoughnutSizeConverter

    Inheritance
    System.Object
    DoughnutSizeConverter
    Implements
    Xamarin.Forms.IValueConverter
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class DoughnutSizeConverter : Object, IValueConverter

    Constructors

    DoughnutSizeConverter()

    Declaration
    public DoughnutSizeConverter()

    Properties

    Percentage

    Gets or sets the percentage to be added to the view to define its size under the doughnut series center view.

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

    The value that resides between 0 to 100.

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Declaration
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value
    System.Type targetType
    System.Object parameter
    System.Globalization.CultureInfo culture
    Returns
    Type
    System.Object

    ConvertBack(Object, Type, Object, CultureInfo)

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value
    System.Type targetType
    System.Object parameter
    System.Globalization.CultureInfo culture
    Returns
    Type
    System.Object

    Implements

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