menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class TokenSettings

    TokenSettings represents a class that contains properties for token customizations in the SfAutoComplete control.

    Inheritance
    System.Object
    TokenSettings
    Namespace: Syncfusion.SfAutoComplete.XForms
    Assembly: Syncfusion.SfAutoComplete.XForms.dll
    Syntax
    public class TokenSettings : View, IThemeElement

    Constructors

    TokenSettings()

    Initializes a new instance of the TokenSettings class.

    Declaration
    public TokenSettings()

    Fields

    BackgroundColorProperty

    Identifies the BackgroundColor bindable property. This property can be used to change the background color of tokens.

    Declaration
    public static readonly BindableProperty BackgroundColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    CornerRadiusProperty

    Identifies the CornerRadius bindable property. This property can be used to get the rounded shaped corner of tokens.

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

    DeleteButtonColorProperty

    Identifies the DeleteButtonColor bindable property. This property can be used to change the color of the delete button.

    Declaration
    public static readonly BindableProperty DeleteButtonColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    DeleteButtonPlacementProperty

    Identifies the DeleteButtonPlacement bindable property. This property can be used to change the position of the delete button.

    Declaration
    public static readonly BindableProperty DeleteButtonPlacementProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    FontFamilyProperty

    Identifies the FontFamily bindable property. This property can be used to change the font family of tokens.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    FontSizeProperty

    Identifies the FontSize bindable property. This property can be used to change the font size of tokens.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    IsCloseButtonVisibleProperty

    Identifies the IsCloseButtonVisible bindable property. It indicates whether the close button is visible or not.

    Declaration
    public static readonly BindableProperty IsCloseButtonVisibleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SelectedBackgroundColorProperty

    Identifies the SelectedBackgroundColor bindable property. This property can be used to change the background color of the selection.

    Declaration
    public static readonly BindableProperty SelectedBackgroundColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TextColorProperty

    Identifies the TextColor bindable property. This property can be used to change the text color of tokens in SfAutoComplete.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    BackgroundColor

    Gets or sets the value of the background. This property can be used to change the background color of tokens.

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

    The default value is ("#e9e9e9").

    CornerRadius

    Gets or sets the value of CornerRadius. This property can be used to get the rounded shaped corner of tokens.

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

    DeleteButtonColor

    Gets or sets the color of the DeleteButtonColor. This property can be used to change the color of the delete button.

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

    DeleteButtonPlacement

    Gets or sets the value of the DeleteButtonPlacement. This property can be used to change the position of the delete button.

    Declaration
    public DeleteButtonPlacement DeleteButtonPlacement { get; set; }
    Property Value
    Type Description
    DeleteButtonPlacement

    The delete button placement.

    FontFamily

    Gets or sets the value of FontFamily. This property can be used to change the fontfamily of tokens.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    The default value is string.Empty.

    FontSize

    Gets or sets the value of FontSize. This property can be used to change the font size of tokens.

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

    IsCloseButtonVisible

    Gets or sets a value indicating whether the close button is visible or not in TokenSettings.

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

    true if is close button visible; otherwise, false.

    SelectedBackgroundColor

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

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

    The default value is LightGray.

    TextColor

    Gets or sets the value of TextColor. This property can be used to change the text color of tokens in SfAutoComplete.

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

    The default value is Black.

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