Class DataFormPickerItem
Represents the class that encapsulates the layout and picker editor settings for data field appearing in SfDataForm.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.XForms.DataForm
Assembly: Syncfusion.SfDataForm.XForms.dll
Syntax
public class DataFormPickerItem : DataFormItem, IDisposable
Constructors
DataFormPickerItem()
Declaration
public DataFormPickerItem()
Fields
ItemsSourceProperty
BindableProperty of ItemsSource for DataFormPickerItem.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
DisplayMemberPath
Gets or sets a path to a value on the source object that will get displayed in picker.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
Type |
---|
System.String |
ItemsSource
Gets or sets the collection which will get displayed in drop-down of picker where user can select from available items.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type |
---|
System.Collections.IEnumerable |
Title
Gets or sets the title of the picker.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
ValueMemberPath
Gets or sets a path to a value on the source object which will get saved to data field.
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type |
---|
System.String |
Methods
CanFocus()
Returns a value that indicates whether the editor loaded for data field allows focus when navigating by keyboard Go action.
Declaration
protected override bool CanFocus()
Returns
Type | Description |
---|---|
System.Boolean | Return |
Overrides
Implements
System.IDisposable