AutoCompletePopUp

StockSharp.Xaml

A pop-up window to select a suitable instrument.

Inherits: Popup

Implements: IComponentConnector

Constructors

AutoCompletePopUp
public AutoCompletePopUp()
autoCompletePopUp = AutoCompletePopUp()

Initializes a new instance of the AutoCompletePopUp.

Properties

MatchText
public string MatchText { get; set; }
value = autoCompletePopUp.MatchText
autoCompletePopUp.MatchText = value

Text for backlight in the instrument identifier Id.

Securities
public ObservableCollection<Security> Securities { get; }
value = autoCompletePopUp.Securities

All suitable instruments.

SelectedSecurity
public Security SelectedSecurity { get; set; }
value = autoCompletePopUp.SelectedSecurity
autoCompletePopUp.SelectedSecurity = value

The selected instrument.

Methods

DoFocus
public void DoFocus()
autoCompletePopUp.DoFocus()

To focus.

InitializeComponent
public void InitializeComponent()
autoCompletePopUp.InitializeComponent()

InitializeComponent

Events

MatchKeyDown
public event Action<Key> MatchKeyDown
autoCompletePopUp.MatchKeyDown += handler

Key press event.

SecuritySelected
public event Action SecuritySelected
autoCompletePopUp.SecuritySelected += handler

The change event SelectedSecurity.

Fields

MatchTextProperty
public static readonly DependencyProperty MatchTextProperty
value = AutoCompletePopUp.MatchTextProperty

DependencyProperty for MatchText.