SecurityPicker

StockSharp.Xaml

The visual component for Security searching and selection.

继承自: UserControl

实现: IPersistable, IComponentConnector

构造函数

SecurityPicker()

Initializes a new instance of the SecurityPicker.

属性

ExcludeSecurities : ISet<Security>

Instruments that should be hidden.

FilteredSecurities : IListEx<Security>

Filtered instruments.

FilteredSecuritiesSource : IListEx<Security>

Filtered securities for binding. Automatically synced with FilteredSecurities.

MarketDataProvider : IMarketDataProvider

The market data provider.

PriceChartDataProvider : IPriceChartDataProvider

Price chart data provider.

Securities : CollectionSecurityProvider

Available instruments.

SecurityDoubleClickCommand : ICommand

Command executed on security double-click.

SecurityFilter : string

The current filter by the instrument.

SecurityProvider : ISecurityProvider

The provider of information about instruments.

SelectedSecurities : IList<Security>

Selected instruments.

SelectedSecuritiesSource : IList<Security>

Selected securities (bindable). Updated when selection changes.

SelectedSecurity : Security

The selected instrument.

SelectedType : SecurityTypes?

The selected instrument type.

SelectionMode : MultiSelectMode

The list items selection mode. The default is Row.

ShowCommonOptionColumns : bool

To show main columns with statistical data.

ShowCommonStatColumns : bool

To show main columns with statistical data.

Title : string

The title for a table. By default, it is empty.

UnderlyingGrid : SecurityGrid

The table showing financial instruments (Security).

方法

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
ProcessLevel1(IDictionary<Security, Level1ChangeMessage>)

Directly update last values.

changes
Changes.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
SetColumnVisibility(string, Visibility)

To set the visibility for a column of the table.

name
The field name.
visibility
The visibility.

事件

GridChanged : Action

The table change event.

SecurityDoubleClick : Action<Security>

Event of double-clicking the mouse on the selected Security.

SecuritySelected : Action<Security>

The selected Security change events.

字段

ExtendedInfoStorageProperty : DependencyProperty

DependencyProperty for ExtendedInfoStorage.

FilteredSecuritiesSourceProperty : DependencyProperty

DependencyProperty for FilteredSecuritiesSource.

SecurityDoubleClickCommandProperty : DependencyProperty

DependencyProperty for SecurityDoubleClickCommand.

SelectedSecuritiesSourceProperty : DependencyProperty

DependencyProperty for SelectedSecuritiesSource.

SelectedSecurityProperty : DependencyProperty

DependencyProperty for SelectedSecurity.

SelectionModeProperty : DependencyProperty

DependencyProperty for SelectionMode.

ShowCommonOptionColumnsProperty : DependencyProperty

DependencyProperty for ShowCommonOptionColumns.

ShowCommonStatColumnsProperty : DependencyProperty

DependencyProperty for ShowCommonStatColumns.

TitleProperty : DependencyProperty

DependencyProperty for Title.