Class PickerColumn
Represents a class which is used to customize all the properties of picker column of the SfPicker.
Inheritance
Namespace: Syncfusion.Maui.Picker
Assembly: Syncfusion.Maui.Picker.dll
Syntax
public class PickerColumn : Element, IThemeElement
Constructors
PickerColumn()
Initializes a new instance of the PickerColumn class.
Declaration
public PickerColumn()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath dependency property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for DisplayMemberPath dependency property. |
HeaderTextProperty
Identifies the HeaderText dependency property.
Declaration
public static readonly BindableProperty HeaderTextProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for HeaderText dependency property. |
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for ItemsSource dependency property. |
SelectedIndexProperty
Identifies the SelectedIndex dependency property.
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for SelectedIndex dependency property. |
SelectedItemProperty
Identifies the SelectedItem dependency property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for SelectedItem dependency property. |
WidthProperty
Identifies the Width dependency property.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Width dependency property. |
Properties
DisplayMemberPath
Gets or sets the value to specify the path value for items source.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
Type |
---|
System.String |
HeaderText
Gets or sets the value to specify the header text of the columns on SfPicker.
Declaration
public string HeaderText { get; set; }
Property Value
Type |
---|
System.String |
ItemsSource
Gets or sets the value to specify the column text on SfPicker.
Declaration
public object ItemsSource { get; set; }
Property Value
Type |
---|
System.Object |
SelectedIndex
Gets or sets the selected index of the columns on SfPicker.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Remarks
In multi-column setups, if any column contains a selected index as -1 or less than -1, the selection UI will not be drawn, and each column scrolling will move to the zeroth position.
SelectedItem
Gets or sets the selected item of the columns on SfPicker.
Declaration
public object SelectedItem { get; set; }
Property Value
Type |
---|
System.Object |
Remarks
In multi-column setups, if any column contains a selected item as null, the selection UI will not be drawn, and each column scrolling will move to the zeroth position. When selected item changed its trigger selection index changed events.
Width
Gets or sets the value to specify the column width on SfPicker
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |