Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectionIndicatorSettings

    Show / Hide Table of Contents

    Class SelectionIndicatorSettings

    Provides set of properties to be customized for selection indicator in SfSegmentedControl, selection indicator is strip which is to indicate the selected item in the SfSegmentedControl control.

    Inheritance
    System.Object
    SelectionIndicatorSettings
    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public class SelectionIndicatorSettings : Element, IThemeElement

    Constructors

    SelectionIndicatorSettings()

    Initializes a new instance of the SelectionIndicatorSettings class which containing properties for selection indicator customizations.

    Declaration
    public SelectionIndicatorSettings()

    Fields

    ColorProperty

    Identifies the Color bindable property. This property can be used to change the color of selection indicator.

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    CornerRadiusProperty

    Identifies the CornerRadius bindable property. This property can be used to draw the rounded corners of border in selection indicator.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    PositionProperty

    Identifies the Position bindable property. This property can be used to change the position of selection indicator.

    Declaration
    public static readonly BindableProperty PositionProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    StrokeThicknessProperty

    Identifies the StrokeThickness bindable property. This property can be used to change the thickness of stroke in selection indicator.

    Declaration
    public static readonly BindableProperty StrokeThicknessProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Color

    Gets or sets the value of color. This property can be used to change the color of selection indicator.

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

    CornerRadius

    Gets or sets the value of CornerRadius. This property can be used to draw the rounded corners of border in selection indicator.

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

    Position

    Gets or sets the value of position. This property can be used to change the position of selection indicator.

    Declaration
    public SelectionIndicatorPosition Position { get; set; }
    Property Value
    Type Description
    SelectionIndicatorPosition

    StrokeThickness

    Gets or sets the value of StrokeThickness. This property can be used to change the thickness of stroke in selection indicator.

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