Class DropdownField
[ContentProperty("Validations")]
public class DropdownField : 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
-
DropdownField
- Implements
- Inherited Members
- Extension Methods
Constructors
DropdownField()
public DropdownField()
Fields
AllowClearProperty
public static readonly BindableProperty AllowClearProperty
Field Value
FontAttributesProperty
public static readonly BindableProperty FontAttributesProperty
Field Value
FontFamilyProperty
public static readonly BindableProperty FontFamilyProperty
Field Value
FontSizeProperty
public static readonly BindableProperty FontSizeProperty
Field Value
HorizontalTextAlignmentProperty
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
ItemsSourceProperty
public static readonly BindableProperty ItemsSourceProperty
Field Value
SelectedItemChangedCommandProperty
public static readonly BindableProperty SelectedItemChangedCommandProperty
Field Value
SelectedItemProperty
public static readonly BindableProperty SelectedItemProperty
Field Value
TextColorProperty
public static readonly BindableProperty TextColorProperty
Field Value
iconClear
protected StatefulContentView iconClear
Field Value
Properties
AllowClear
public bool AllowClear { get; set; }
Property Value
Content
public override View Content { get; set; }
Property Value
DropdownView
public Dropdown DropdownView { get; }
Property Value
FontAttributes
public FontAttributes FontAttributes { get; set; }
Property Value
FontFamily
public string FontFamily { get; set; }
Property Value
FontSize
public double FontSize { get; set; }
Property Value
HasValue
public override bool HasValue { get; }
Property Value
HorizontalTextAlignment
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
ItemDisplayBinding
public BindingBase ItemDisplayBinding { get; set; }
Property Value
ItemsSource
public IList ItemsSource { get; set; }
Property Value
SelectedItem
public object SelectedItem { get; set; }
Property Value
SelectedItemChangedCommand
public ICommand SelectedItemChangedCommand { get; set; }
Property Value
TextColor
public Color TextColor { get; set; }
Property Value
Methods
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
SelectedItemChanged
public event EventHandler<object> SelectedItemChanged