SecurityLookupPanel
StockSharp.Xaml
The instrument search panel.
Inherits: UserControl
Implements: IAsyncPersistable, IComponentConnector
Constructors
SecurityLookupPanel
public SecurityLookupPanel()
securityLookupPanel = SecurityLookupPanel()
Initializes a new instance of the SecurityLookupPanel.
Properties
Filter
private Security Filter { get; set; }
value = securityLookupPanel.Filter
securityLookupPanel.Filter = value
The filter for instrument search.
Methods
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
Returns: Task
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityLookupPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
Events
Lookup
public event Action<Security> Lookup
securityLookupPanel.Lookup += handler
The start of instrument search event.
Fields
SearchSecurityCommand
public static readonly RoutedCommand SearchSecurityCommand
value = SecurityLookupPanel.SearchSecurityCommand
RoutedCommand for Lookup.