AutoCompleteView

StockSharp.Xaml.Grids.Maui

Universal autocomplete view control for MAUI.

Inherits: ContentView

Constructors

AutoCompleteView
public AutoCompleteView()
autoCompleteView = AutoCompleteView()

Creates a new AutoCompleteView.

Properties

IsPopupOpen
public bool IsPopupOpen { get; set; }
value = autoCompleteView.IsPopupOpen
autoCompleteView.IsPopupOpen = value

Gets or sets whether the popup is open.

ItemsSource
public IEnumerable ItemsSource { get; set; }
value = autoCompleteView.ItemsSource
autoCompleteView.ItemsSource = value

Gets or sets the items source.

ItemTemplate
public DataTemplate ItemTemplate { get; set; }
value = autoCompleteView.ItemTemplate
autoCompleteView.ItemTemplate = value

Gets or sets the item template.

MinimumPrefixLength
public int MinimumPrefixLength { get; set; }
value = autoCompleteView.MinimumPrefixLength
autoCompleteView.MinimumPrefixLength = value

Gets or sets the minimum prefix length before showing suggestions.

Placeholder
public string Placeholder { get; set; }
value = autoCompleteView.Placeholder
autoCompleteView.Placeholder = value

Gets or sets the placeholder text.

SearchText
public string SearchText { get; set; }
value = autoCompleteView.SearchText
autoCompleteView.SearchText = value

Gets or sets the search text.

SelectCommand
public ICommand SelectCommand { get; set; }
value = autoCompleteView.SelectCommand
autoCompleteView.SelectCommand = value

Gets or sets the select command.

SelectedItem
public object SelectedItem { get; set; }
value = autoCompleteView.SelectedItem
autoCompleteView.SelectedItem = value

Gets or sets the selected item.

ShowClearButton
public bool ShowClearButton { get; set; }
value = autoCompleteView.ShowClearButton
autoCompleteView.ShowClearButton = value

Gets or sets whether to show the clear button.

Events

ItemConfirmed
public event EventHandler<object> ItemConfirmed
autoCompleteView.ItemConfirmed += handler

Raised when an item is confirmed.

ItemSelected
public event EventHandler<object> ItemSelected
autoCompleteView.ItemSelected += handler

Raised when an item is selected.

SearchTextChanged
public event EventHandler<string> SearchTextChanged
autoCompleteView.SearchTextChanged += handler

Raised when the search text changes.

Fields

IsPopupOpenProperty
public static readonly BindableProperty IsPopupOpenProperty
value = AutoCompleteView.IsPopupOpenProperty

Is popup open bindable property.

ItemsSourceProperty
public static readonly BindableProperty ItemsSourceProperty
value = AutoCompleteView.ItemsSourceProperty

Items source bindable property.

ItemTemplateProperty
public static readonly BindableProperty ItemTemplateProperty
value = AutoCompleteView.ItemTemplateProperty

Item template bindable property.

MinimumPrefixLengthProperty
public static readonly BindableProperty MinimumPrefixLengthProperty
value = AutoCompleteView.MinimumPrefixLengthProperty

Minimum prefix length bindable property.

PlaceholderProperty
public static readonly BindableProperty PlaceholderProperty
value = AutoCompleteView.PlaceholderProperty

Placeholder bindable property.

SearchTextProperty
public static readonly BindableProperty SearchTextProperty
value = AutoCompleteView.SearchTextProperty

Search text bindable property.

SelectCommandProperty
public static readonly BindableProperty SelectCommandProperty
value = AutoCompleteView.SelectCommandProperty

Select command bindable property.

SelectedItemProperty
public static readonly BindableProperty SelectedItemProperty
value = AutoCompleteView.SelectedItemProperty

Selected item bindable property.

ShowClearButtonProperty
public static readonly BindableProperty ShowClearButtonProperty
value = AutoCompleteView.ShowClearButtonProperty

Show clear button bindable property.