menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ISwitchSettings - API Reference

    Show / Hide Table of Contents

    Interface ISwitchSettings

    Represents the ISwitchSettings interface.

    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public interface ISwitchSettings

    Properties

    BusyIndicatorColor

    Gets or sets thumb busy indicator color.

    Declaration
    Color BusyIndicatorColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    HasThumbShadow

    Gets or sets a value indicating whether to display thumb shadow. This thumb shadow is applicable for android Android and iOS devices.

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

    ThumbBorderColor

    Gets or sets thumb border color.

    Declaration
    Color ThumbBorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    ThumbBorderWidth

    Gets or sets thumb border width.

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

    ThumbColor

    Gets or sets Thumb color.

    Declaration
    Color ThumbColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    ThumbCornerRadius

    Gets or sets Thumb corner radius.

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

    ThumbGradient

    Gets or sets thumb gradient.

    Declaration
    SfGradientBrush ThumbGradient { get; set; }
    Property Value
    Type Description
    SfGradientBrush

    ThumbHeightRequest

    Gets or sets thumb height request.

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

    ThumbImageSource

    Gets or sets thumb image.

    Declaration
    ImageSource ThumbImageSource { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.ImageSource

    ThumbWidthRequest

    Gets or sets thumb width request.

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

    TrackBorderColor

    Gets or sets border color.

    Declaration
    Color TrackBorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    TrackBorderWidth

    Gets or sets track border width.

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

    TrackColor

    Gets or sets track color.

    Declaration
    Color TrackColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    TrackCornerRadius

    Gets or sets track corner radius.

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

    TrackGradient

    Gets or sets track gradient.

    Declaration
    SfGradientBrush TrackGradient { get; set; }
    Property Value
    Type Description
    SfGradientBrush

    TrackHeightRequest

    Gets or sets the track height request.

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

    TrackImageSource

    Gets or sets track image source.

    Declaration
    ImageSource TrackImageSource { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.ImageSource

    TrackWidthRequest

    Gets or sets track width request.

    Declaration
    double TrackWidthRequest { get; set; }
    Property Value
    Type Description
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved