Class Select
public class Select : StatefulContentView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IPadding, ICrossPlatformLayout, IStatefulView, IView, IElement, ITransform
- Inheritance
-
Select
- Implements
- Inherited Members
- Extension Methods
Constructors
Select()
public Select()
Fields
DropDownBackgroundColorProperty
public static readonly BindableProperty DropDownBackgroundColorProperty
Field Value
DropDownBorderColorProperty
public static readonly BindableProperty DropDownBorderColorProperty
Field Value
DropDownBorderThicknessProperty
public static readonly BindableProperty DropDownBorderThicknessProperty
Field Value
DropDownCornerRadiusProperty
public static readonly BindableProperty DropDownCornerRadiusProperty
Field Value
DropDownMarginProperty
public static readonly BindableProperty DropDownMarginProperty
Field Value
DropDownShadowProperty
public static readonly BindableProperty DropDownShadowProperty
Field Value
FontAttributesProperty
public static readonly BindableProperty FontAttributesProperty
Field Value
FontAutoScalingEnabledProperty
public static readonly BindableProperty FontAutoScalingEnabledProperty
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
HoveredItemBackgroundColorProperty
public static readonly BindableProperty HoveredItemBackgroundColorProperty
Field Value
ItemTemplateProperty
public static readonly BindableProperty ItemTemplateProperty
Field Value
ItemsSourceProperty
public static readonly BindableProperty ItemsSourceProperty
Field Value
MaxDropDownHeightProperty
public static readonly BindableProperty MaxDropDownHeightProperty
Field Value
PlaceholderColorProperty
public static readonly BindableProperty PlaceholderColorProperty
Field Value
PlaceholderProperty
public static readonly BindableProperty PlaceholderProperty
Field Value
PressedItemBackgroundColorProperty
public static readonly BindableProperty PressedItemBackgroundColorProperty
Field Value
SelectedItemBackgroundColorProperty
public static readonly BindableProperty SelectedItemBackgroundColorProperty
Field Value
SelectedItemProperty
public static readonly BindableProperty SelectedItemProperty
Field Value
SelectedItemTemplateProperty
public static readonly BindableProperty SelectedItemTemplateProperty
Field Value
TextColorProperty
public static readonly BindableProperty TextColorProperty
Field Value
Properties
DropDownBackgroundColor
public Color DropDownBackgroundColor { get; set; }
Property Value
DropDownBorderColor
public Color DropDownBorderColor { get; set; }
Property Value
DropDownBorderThickness
public double DropDownBorderThickness { get; set; }
Property Value
DropDownCornerRadius
public CornerRadius DropDownCornerRadius { get; set; }
Property Value
DropDownMargin
public Thickness DropDownMargin { get; set; }
Property Value
DropDownShadow
public Shadow DropDownShadow { get; set; }
Property Value
FontAttributes
public FontAttributes FontAttributes { get; set; }
Property Value
FontAutoScalingEnabled
public bool FontAutoScalingEnabled { get; set; }
Property Value
FontFamily
public string FontFamily { get; set; }
Property Value
FontSize
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
Property Value
HorizontalTextAlignment
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
HoveredItemBackgroundColor
public Color HoveredItemBackgroundColor { get; set; }
Property Value
IsDropDownOpen
public bool IsDropDownOpen { get; }
Property Value
ItemDisplayBinding
public BindingBase ItemDisplayBinding { get; set; }
Property Value
ItemTemplate
public DataTemplate ItemTemplate { get; set; }
Property Value
ItemsSource
public IEnumerable ItemsSource { get; set; }
Property Value
MaxDropDownHeight
public double MaxDropDownHeight { get; set; }
Property Value
Placeholder
public string Placeholder { get; set; }
Property Value
PlaceholderColor
public Color PlaceholderColor { get; set; }
Property Value
PressedItemBackgroundColor
public Color PressedItemBackgroundColor { get; set; }
Property Value
SelectedItem
public object SelectedItem { get; set; }
Property Value
SelectedItemBackgroundColor
public Color SelectedItemBackgroundColor { get; set; }
Property Value
SelectedItemTemplate
public DataTemplate SelectedItemTemplate { get; set; }
Property Value
TextColor
public Color TextColor { get; set; }
Property Value
Methods
Activate()
protected virtual void Activate()
Close()
public void Close()
CreateDropDownView()
protected virtual View CreateDropDownView()
Returns
CreateItemContainer(object)
protected virtual View CreateItemContainer(object item)
Parameters
itemobject
Returns
CreateItemView(object)
protected virtual View CreateItemView(object item)
Parameters
itemobject
Returns
CreateSelectedItemView(object)
protected virtual View CreateSelectedItemView(object item)
Parameters
itemobject
Returns
GetPopupAnchor()
protected virtual VisualElement GetPopupAnchor()
Returns
GetTextForItem(object)
protected virtual string GetTextForItem(object item)
Parameters
itemobject
Returns
OnHandlerChanging(HandlerChangingEventArgs)
When overridden in a derived class, should raise the HandlerChanging event.
protected override void OnHandlerChanging(HandlerChangingEventArgs args)
Parameters
argsHandlerChangingEventArgsProvides data for the HandlerChanging event.
Remarks
It is the implementor's responsibility to raise the HandlerChanging event.
OnItemsSourceChanged(IEnumerable, IEnumerable)
protected virtual void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
oldValueIEnumerablenewValueIEnumerable
OnSelectedItemChanged(object, object)
protected virtual void OnSelectedItemChanged(object oldValue, object newValue)
Parameters
OnTemplatePropertyChanged()
protected virtual void OnTemplatePropertyChanged()
OnTextPropertyChanged()
protected virtual void OnTextPropertyChanged()
Open()
public void Open()
SelectItem(object)
protected virtual void SelectItem(object item)
Parameters
itemobject
Toggle()
protected virtual void Toggle()