SecurityLookupPanel

StockSharp.Xaml

仪表搜索面板.

继承自: UserControl

实现: IAsyncPersistable, IComponentConnector

构造函数

SecurityLookupPanel
public SecurityLookupPanel()
securityLookupPanel = SecurityLookupPanel()

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

属性

Filter
private Security Filter { get; set; }
value = securityLookupPanel.Filter
securityLookupPanel.Filter = value

用于仪器搜索的过滤器 。

方法

InitializeComponent
public void InitializeComponent()
securityLookupPanel.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityLookupPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityLookupPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

事件

Lookup
public event Action<Security> Lookup
securityLookupPanel.Lookup += handler

乐器搜索事件的开始.

字段

SearchSecurityCommand
public static readonly RoutedCommand SearchSecurityCommand
value = SecurityLookupPanel.SearchSecurityCommand

寻找。