Table of Contents

Class SecurityPicker

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The visual component for Security searching and selection.

public class SecurityPicker : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IPersistable, IComponentConnector
Inheritance
SecurityPicker
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

SecurityPicker()

Initializes a new instance of the SecurityPicker.

public SecurityPicker()

Fields

SelectionModeProperty

public static readonly DependencyProperty SelectionModeProperty

Field Value

DependencyProperty

ShowCommonOptionColumnsProperty

public static readonly DependencyProperty ShowCommonOptionColumnsProperty

Field Value

DependencyProperty

ShowCommonStatColumnsProperty

public static readonly DependencyProperty ShowCommonStatColumnsProperty

Field Value

DependencyProperty

TitleProperty

public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Properties

ExcludeSecurities

Instruments that should be hidden.

public ISet<Security> ExcludeSecurities { get; }

Property Value

ISet<Security>

ExtendedInfoStorage

Extended info storage.

public IExtendedInfoStorageItem ExtendedInfoStorage { get; set; }

Property Value

IExtendedInfoStorageItem

FilteredSecurities

Filtered instruments.

public IListEx<Security> FilteredSecurities { get; }

Property Value

IListEx<Security>

MarketDataProvider

The market data provider.

public IMarketDataProvider MarketDataProvider { get; set; }

Property Value

IMarketDataProvider

PriceChartDataProvider

Price chart data provider.

public IPriceChartDataProvider PriceChartDataProvider { get; set; }

Property Value

IPriceChartDataProvider

Securities

Available instruments.

public CollectionSecurityProvider Securities { get; }

Property Value

CollectionSecurityProvider

SecurityFilter

The current filter by the instrument.

public string SecurityFilter { get; set; }

Property Value

string

SecurityProvider

The provider of information about instruments.

public ISecurityProvider SecurityProvider { get; set; }

Property Value

ISecurityProvider

SelectedSecurities

Selected instruments.

public IList<Security> SelectedSecurities { get; }

Property Value

IList<Security>

SelectedSecurity

The selected instrument.

public Security SelectedSecurity { get; set; }

Property Value

Security

SelectedType

The selected instrument type.

public SecurityTypes? SelectedType { get; set; }

Property Value

SecurityTypes?

SelectionMode

The list items selection mode. The default is DevExpress.Xpf.Grid.MultiSelectMode.Row.

public MultiSelectMode SelectionMode { get; set; }

Property Value

MultiSelectMode

ShowCommonOptionColumns

To show main columns with statistical data.

public bool ShowCommonOptionColumns { get; set; }

Property Value

bool

ShowCommonStatColumns

To show main columns with statistical data.

public bool ShowCommonStatColumns { get; set; }

Property Value

bool

Title

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

public string Title { get; set; }

Property Value

string

UnderlyingGrid

The table showing financial instruments (Security).

public SecurityGrid UnderlyingGrid { get; }

Property Value

SecurityGrid

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ProcessLevel1(IDictionary<Security, Level1ChangeMessage>)

Directly update last values.

public void ProcessLevel1(IDictionary<Security, Level1ChangeMessage> changes)

Parameters

changes IDictionary<Security, Level1ChangeMessage>

Changes.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

SetColumnVisibility(string, Visibility)

To set the visibility for a column of the table.

public void SetColumnVisibility(string name, Visibility visibility)

Parameters

name string

The field name.

visibility Visibility

The visibility.

Events

GridChanged

The table change event.

public event Action GridChanged

Event Type

Action

SecurityDoubleClick

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

public event Action<Security> SecurityDoubleClick

Event Type

Action<Security>

SecuritySelected

The selected Security change events.

public event Action<Security> SecuritySelected

Event Type

Action<Security>