Class DropDownButtonSettings
The DropDownButtonSettings represents the class contains properties for drop-down button customizations.
Inheritance
Namespace: Syncfusion.XForms.ComboBox
Assembly: Syncfusion.SfComboBox.XForms.dll
Syntax
public class DropDownButtonSettings : Element, IThemeElement
Constructors
DropDownButtonSettings()
Initializes a new instance of the DropDownButtonSettings class in the SfComboBox control.
Declaration
public DropDownButtonSettings()
Fields
BackgroundColorProperty
Identifies the BackgroundColor bindable property. This property can be used to change the background color of the drop-down button.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontColorProperty
Identifies the FontColor bindable property. This property can be used to change the font color of the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty FontColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontFamilyProperty
Identifies the FontFamily bindable property. This property can be used to change the font family of the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontIconProperty
Identifies the FontIcon bindable property. This property can be used to change the font icon of the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty FontIconProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Using a DependencyProperty as the backing store for FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeightProperty
Identifies the Height bindable property. This property can be used to customize the height of the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty HeightProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HighlightedBackgroundColorProperty
Identifies the FontColor bindable property. This property can be used to change the color of the highlighted text in the drop-down button.
Declaration
public static readonly BindableProperty HighlightedBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HighlightFontColorProperty
Identifies the HighlightFontColor bindable property. This property can be used to change the font color of the highlighted text in drop-down.
Declaration
public static readonly BindableProperty HighlightFontColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ImageProperty
Identifies the Image bindable property. This property can be used to change the drop-down button image in SfComboBox.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ViewProperty
Identifies the View bindable property. This property can be used to customize the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty ViewProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WidthProperty
Identifies the Width bindable property. This property can be used to customize the width of the drop-down button in SfComboBox.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
BackgroundColor
Gets or sets the value of the BackgroundColor. This property can be used to change the background color of the drop-down button.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default value is Transparent. |
FontColor
Gets or sets the value of FontColor. This property can be used to change the font color of the drop-down button.
Declaration
public Color FontColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default value is Black. |
FontFamily
Gets or sets the value of FontFamily. This property can be used to change the font family of the drop-down button in SfComboBox.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null. |
FontIcon
Gets or sets the value of FontIcon. This property can be used to change the font icon of the drop-down button in SfComboBox.
Declaration
public string FontIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null. |
FontSize
Gets or sets the value of FontSize. This property can be used to change the font size of the drop-down button in SfComboBox.
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 16. |
Height
Gets or sets the value of Height. This property can be used to customize the height of the drop-down button in SfComboBox.
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
HighlightedBackgroundColor
Gets or sets the value of HighlightedBackgroundColor. This property can be used to change the color of the highlighted text in the drop-down button.
Declaration
public Color HighlightedBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default value is LightGray. |
HighlightFontColor
Gets or sets the value of HighlightFontColor. This property can be used to change the font color of the highlighted text in drop-down.
Declaration
public Color HighlightFontColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default value is Transparent. |
Image
Gets or sets the value of Image. This property can be used to change the drop-down button image in SfComboBox.
Using "dropdownbuttonimage" as image name will show the default image.
Declaration
public string Image { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is dropdownbuttonimage.png. |
View
Gets or sets the value of View. This property can be used to customize the drop-down button in SfComboBox.
Declaration
public View View { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.View | The default value is null. |
Width
Gets or sets the value of Width. This property can be used to customize the width of the drop-down button in SfComboBox. ///
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |