Class PickerHeaderView
Represents a class which is used to customize all the properties of header view of the picker.
Inheritance
Namespace: Syncfusion.Maui.Picker
Assembly: Syncfusion.Maui.Picker.dll
Syntax
public class PickerHeaderView : Element
Constructors
PickerHeaderView()
Initializes a new instance of the PickerHeaderView class.
Declaration
public PickerHeaderView()
Fields
BackgroundProperty
Identifies the Background dependency property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Background dependency property. |
DividerColorProperty
Identifies the DividerColor dependency property.
Declaration
public static readonly BindableProperty DividerColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for DividerColor dependency property. |
HeightProperty
Identifies the Height dependency property.
Declaration
public static readonly BindableProperty HeightProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Height dependency property. |
TextProperty
Identifies the Text dependency property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Text dependency property. |
TextStyleProperty
Identifies the TextStyle dependency property.
Declaration
public static readonly BindableProperty TextStyleProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for TextStyle dependency property. |
Properties
Background
Gets or sets the background of the header view in picker.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
DividerColor
Gets or sets the color of the header separator line in picker.
Declaration
public Color DividerColor { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |
Height
Gets or sets the value to specify the height of header view on picker.
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
Text
Gets or sets the value to specify the text of header view on picker.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextStyle
Gets or sets the text style of the header text in picker.
Declaration
public PickerTextStyle TextStyle { get; set; }
Property Value
Type |
---|
PickerTextStyle |