Table of Contents

Class Select

Namespace
UraniumUI.Controls
Assembly
UraniumUI.dll
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

BindableProperty

DropDownBorderColorProperty

public static readonly BindableProperty DropDownBorderColorProperty

Field Value

BindableProperty

DropDownBorderThicknessProperty

public static readonly BindableProperty DropDownBorderThicknessProperty

Field Value

BindableProperty

DropDownCornerRadiusProperty

public static readonly BindableProperty DropDownCornerRadiusProperty

Field Value

BindableProperty

DropDownMarginProperty

public static readonly BindableProperty DropDownMarginProperty

Field Value

BindableProperty

DropDownShadowProperty

public static readonly BindableProperty DropDownShadowProperty

Field Value

BindableProperty

FontAttributesProperty

public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontAutoScalingEnabledProperty

public static readonly BindableProperty FontAutoScalingEnabledProperty

Field Value

BindableProperty

FontFamilyProperty

public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextAlignmentProperty

public static readonly BindableProperty HorizontalTextAlignmentProperty

Field Value

BindableProperty

HoveredItemBackgroundColorProperty

public static readonly BindableProperty HoveredItemBackgroundColorProperty

Field Value

BindableProperty

ItemTemplateProperty

public static readonly BindableProperty ItemTemplateProperty

Field Value

BindableProperty

ItemsSourceProperty

public static readonly BindableProperty ItemsSourceProperty

Field Value

BindableProperty

MaxDropDownHeightProperty

public static readonly BindableProperty MaxDropDownHeightProperty

Field Value

BindableProperty

PlaceholderColorProperty

public static readonly BindableProperty PlaceholderColorProperty

Field Value

BindableProperty

PlaceholderProperty

public static readonly BindableProperty PlaceholderProperty

Field Value

BindableProperty

PressedItemBackgroundColorProperty

public static readonly BindableProperty PressedItemBackgroundColorProperty

Field Value

BindableProperty

SelectedItemBackgroundColorProperty

public static readonly BindableProperty SelectedItemBackgroundColorProperty

Field Value

BindableProperty

SelectedItemProperty

public static readonly BindableProperty SelectedItemProperty

Field Value

BindableProperty

SelectedItemTemplateProperty

public static readonly BindableProperty SelectedItemTemplateProperty

Field Value

BindableProperty

TextColorProperty

public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

Properties

DropDownBackgroundColor

public Color DropDownBackgroundColor { get; set; }

Property Value

Color

DropDownBorderColor

public Color DropDownBorderColor { get; set; }

Property Value

Color

DropDownBorderThickness

public double DropDownBorderThickness { get; set; }

Property Value

double

DropDownCornerRadius

public CornerRadius DropDownCornerRadius { get; set; }

Property Value

CornerRadius

DropDownMargin

public Thickness DropDownMargin { get; set; }

Property Value

Thickness

DropDownShadow

public Shadow DropDownShadow { get; set; }

Property Value

Shadow

FontAttributes

public FontAttributes FontAttributes { get; set; }

Property Value

FontAttributes

FontAutoScalingEnabled

public bool FontAutoScalingEnabled { get; set; }

Property Value

bool

FontFamily

public string FontFamily { get; set; }

Property Value

string

FontSize

[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Property Value

double

HorizontalTextAlignment

public TextAlignment HorizontalTextAlignment { get; set; }

Property Value

TextAlignment

HoveredItemBackgroundColor

public Color HoveredItemBackgroundColor { get; set; }

Property Value

Color

IsDropDownOpen

public bool IsDropDownOpen { get; }

Property Value

bool

ItemDisplayBinding

public BindingBase ItemDisplayBinding { get; set; }

Property Value

BindingBase

ItemTemplate

public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

ItemsSource

public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

MaxDropDownHeight

public double MaxDropDownHeight { get; set; }

Property Value

double

Placeholder

public string Placeholder { get; set; }

Property Value

string

PlaceholderColor

public Color PlaceholderColor { get; set; }

Property Value

Color

PressedItemBackgroundColor

public Color PressedItemBackgroundColor { get; set; }

Property Value

Color

SelectedItem

public object SelectedItem { get; set; }

Property Value

object

SelectedItemBackgroundColor

public Color SelectedItemBackgroundColor { get; set; }

Property Value

Color

SelectedItemTemplate

public DataTemplate SelectedItemTemplate { get; set; }

Property Value

DataTemplate

TextColor

public Color TextColor { get; set; }

Property Value

Color

Methods

Activate()

protected virtual void Activate()

Close()

public void Close()

CreateDropDownView()

protected virtual View CreateDropDownView()

Returns

View

CreateItemContainer(object)

protected virtual View CreateItemContainer(object item)

Parameters

item object

Returns

View

CreateItemView(object)

protected virtual View CreateItemView(object item)

Parameters

item object

Returns

View

CreateSelectedItemView(object)

protected virtual View CreateSelectedItemView(object item)

Parameters

item object

Returns

View

GetPopupAnchor()

protected virtual VisualElement GetPopupAnchor()

Returns

VisualElement

GetTextForItem(object)

protected virtual string GetTextForItem(object item)

Parameters

item object

Returns

string

OnHandlerChanging(HandlerChangingEventArgs)

When overridden in a derived class, should raise the HandlerChanging event.

protected override void OnHandlerChanging(HandlerChangingEventArgs args)

Parameters

args HandlerChangingEventArgs

Provides 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

oldValue IEnumerable
newValue IEnumerable

OnSelectedItemChanged(object, object)

protected virtual void OnSelectedItemChanged(object oldValue, object newValue)

Parameters

oldValue object
newValue object

OnTemplatePropertyChanged()

protected virtual void OnTemplatePropertyChanged()

OnTextPropertyChanged()

protected virtual void OnTextPropertyChanged()

Open()

public void Open()

SelectItem(object)

protected virtual void SelectItem(object item)

Parameters

item object

Toggle()

protected virtual void Toggle()