AutoCompletePopUp

StockSharp.Xaml

用于选择合适乐器的弹出窗口 。

继承自: Popup

实现: IComponentConnector

构造函数

AutoCompletePopUp
public AutoCompletePopUp()
autoCompletePopUp = AutoCompletePopUp()

初始化了 & ##AutoCompletePopUp+#的新实例.

属性

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

仪器标识符 Id 中的后光文本。

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

所有合适的乐器。

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

所选乐器.

方法

DoFocus
public void DoFocus()
autoCompletePopUp.DoFocus()

专一相取.

InitializeComponent
public void InitializeComponent()
autoCompletePopUp.InitializeComponent()

InitializeComponent

事件

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

关键新闻事件.

SecuritySelected
public event Action SecuritySelected
autoCompletePopUp.SecuritySelected += handler

The change event SelectedSecurity.

字段

MatchTextProperty
public static readonly DependencyProperty MatchTextProperty
value = AutoCompletePopUp.MatchTextProperty

DependencyProperty 为MatchText.