Class PickerField
[ContentProperty("Validations")]
public class PickerField : InputField, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IValidatable, INotifyPropertyChanged
- Inheritance
-
PickerField
- Implements
- Inherited Members
- Extension Methods
Constructors
PickerField()
public PickerField()
Fields
AllowClearProperty
public static readonly BindableProperty AllowClearProperty
Field Value
CharacterSpacingProperty
public static readonly BindableProperty CharacterSpacingProperty
Field Value
ItemsSourceProperty
public static readonly BindableProperty ItemsSourceProperty
Field Value
SelectedIndexProperty
public static readonly BindableProperty SelectedIndexProperty
Field Value
SelectedItemProperty
public static readonly BindableProperty SelectedItemProperty
Field Value
SelectedValueChangedCommandProperty
public static readonly BindableProperty SelectedValueChangedCommandProperty
Field Value
TextColorProperty
public static readonly BindableProperty TextColorProperty
Field Value
Properties
AllowClear
public bool AllowClear { get; set; }
Property Value
CharacterSpacing
public double CharacterSpacing { get; set; }
Property Value
Content
public override View Content { get; set; }
Property Value
HasValue
public override bool HasValue { get; }
Property Value
ItemDisplayBinding
public BindingBase ItemDisplayBinding { get; set; }
Property Value
Items
public IList<string> Items { get; }
Property Value
ItemsSource
public IList ItemsSource { get; set; }
Property Value
PickerView
public PickerView PickerView { get; }
Property Value
SelectedIndex
public int SelectedIndex { get; set; }
Property Value
SelectedItem
public object SelectedItem { get; set; }
Property Value
SelectedValueChangedCommand
public ICommand SelectedValueChangedCommand { get; set; }
Property Value
TextColor
public Color TextColor { get; set; }
Property Value
Methods
CreateIconClear()
protected virtual View CreateIconClear()
Returns
GetValueForValidator()
protected override object GetValueForValidator()
Returns
OnAllowClearChanged()
protected virtual void OnAllowClearChanged()
OnClearTapped(object)
protected virtual void OnClearTapped(object parameter)
Parameters
parameter
object
OnSelectedItemChanged()
protected virtual void OnSelectedItemChanged()
ResetValidation()
public override void ResetValidation()
UpdateClearIconState()
protected virtual void UpdateClearIconState()
Events
SelectedValueChanged
public event EventHandler<object> SelectedValueChanged