Class MaterialSwitchSettings<T>
Represents the MaterialSwitchSettings<T> class.
Inheritance
Implements
Namespace: Syncfusion.XForms.Buttons
Assembly: Syncfusion.Buttons.XForms.dll
Syntax
public class MaterialSwitchSettings<T> : Element, ISwitchSettings, IThemeElement where T : ISwitchState
Type Parameters
Name | Description |
---|---|
T | The return params. |
Constructors
MaterialSwitchSettings()
Initializes a new instance of the MaterialSwitchSettings<T> class.
Declaration
public MaterialSwitchSettings()
Fields
BusyIndicatorColorProperty
Identifies the BusyIndicatorColor dependency property. This property can be used to busy indicator color of the ISwitchSettings class.
Declaration
public static readonly BindableProperty BusyIndicatorColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HasThumbShadowProperty
Identifies the HasThumbShadow dependency property. This property can be enable the thumb shadow of the ISwitchSettings class.
Declaration
public static readonly BindableProperty HasThumbShadowProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbBorderColorProperty
Identifies the ThumbBorderColor dependency property. This property can be used to to change the Thumb border color of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbBorderColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbBorderWidthProperty
Identifies the ThumbBorderWidth dependency property. This property can be used to change the thumb border width of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbBorderWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbColorProperty
Identifies the ThumbColor dependency property. This property can be used to change the thumbColor of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbCornerRadiusProperty
Identifies the ThumbCornerRadius dependency property. This property can be used to change the thumbCorner radius of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbCornerRadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbGradientProperty
Identifies the ThumbGradient dependency property. This property can be used to change the thumb gradient of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbGradientProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbHeightRequestProperty
Identifies the ThumbHeightRequest dependency property. This property can be used to change the thumb height request of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbHeightRequestProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbImageSourceProperty
Identifies the ThumbImageSource dependency property. This property can be used to thumb image source of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbImageSourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ThumbWidthRequestProperty
Identifies the ThumbWidthRequest dependency property. This property can be used to change the thumb width request of the ISwitchSettings class.
Declaration
public static readonly BindableProperty ThumbWidthRequestProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackBorderColorProperty
Identifies the TrackBorderColor dependency property. This property can be used to change the track border color of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackBorderColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackBorderWidthProperty
Identifies the TrackBorderWidth dependency property. This property can be used to change the track border width of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackBorderWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackColorProperty
Identifies the TrackColor dependency property. This property can be used to change the track color of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackCornerRadiusProperty
Identifies the TrackCornerRadius dependency property. This property can be used to track corner radius of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackCornerRadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackGradientProperty
Identifies the TrackGradient dependency property. This property can be used to to change the track gradient of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackGradientProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackHeightRequestProperty
Identifies the TrackHeightRequest dependency property. This property can be used to track height request of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackHeightRequestProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackImageSourceProperty
Identifies the TrackImageSource dependency property. This property can be used to change the track image source of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackImageSourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TrackWidthRequestProperty
Identifies the TrackWidthRequest dependency property. This property can be used to track width request of the ISwitchSettings class.
Declaration
public static readonly BindableProperty TrackWidthRequestProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
BusyIndicatorColor
Gets or sets thumb busy indicator color.
Declaration
public Color BusyIndicatorColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
HasThumbShadow
Gets or sets a value indicating whether to display thumb shadow or not. This thumb shadow is applicable for android Android and iOS devices.
Declaration
public bool HasThumbShadow { get; set; }
Property Value
Type |
---|
System.Boolean |
ThumbBorderColor
Gets or sets thumb border color .
Declaration
public Color ThumbBorderColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
ThumbBorderWidth
Gets or Sets the default value for thumb border width.
Declaration
public double ThumbBorderWidth { get; set; }
Property Value
Type |
---|
System.Double |
ThumbColor
Gets or sets Thumb color.
Declaration
public Color ThumbColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
ThumbCornerRadius
Gets or sets Thumb corner radius.
Declaration
public double ThumbCornerRadius { get; set; }
Property Value
Type |
---|
System.Double |
ThumbGradient
Gets or sets thumb gradient.
Declaration
public SfGradientBrush ThumbGradient { get; set; }
Property Value
Type |
---|
SfGradientBrush |
ThumbHeightRequest
Gets or sets thumb height request.
Declaration
public double ThumbHeightRequest { get; set; }
Property Value
Type |
---|
System.Double |
ThumbImageSource
Gets or sets thumb image.
Declaration
public ImageSource ThumbImageSource { get; set; }
Property Value
Type |
---|
Xamarin.Forms.ImageSource |
ThumbWidthRequest
Gets or sets thumb width request.
Declaration
public double ThumbWidthRequest { get; set; }
Property Value
Type |
---|
System.Double |
TrackBorderColor
Gets or sets border color.
Declaration
public Color TrackBorderColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
TrackBorderWidth
Gets or sets track border width.
Declaration
public double TrackBorderWidth { get; set; }
Property Value
Type |
---|
System.Double |
TrackColor
Gets or sets track color.
Declaration
public Color TrackColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
TrackCornerRadius
Gets or sets track corner radius.
Declaration
public double TrackCornerRadius { get; set; }
Property Value
Type |
---|
System.Double |
TrackGradient
Gets or sets track gradient.
Declaration
public SfGradientBrush TrackGradient { get; set; }
Property Value
Type |
---|
SfGradientBrush |
TrackHeightRequest
Gets or sets track height request.
Declaration
public double TrackHeightRequest { get; set; }
Property Value
Type |
---|
System.Double |
TrackImageSource
Gets or sets track image source.
Declaration
public ImageSource TrackImageSource { get; set; }
Property Value
Type |
---|
Xamarin.Forms.ImageSource |
TrackWidthRequest
Gets or sets track width request.
Declaration
public double TrackWidthRequest { get; set; }
Property Value
Type |
---|
System.Double |