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
ShowCommonOptionColumnsProperty
public static readonly DependencyProperty ShowCommonOptionColumnsProperty
Field Value
ShowCommonStatColumnsProperty
public static readonly DependencyProperty ShowCommonStatColumnsProperty
Field Value
TitleProperty
DependencyProperty for Title.
public static readonly DependencyProperty TitleProperty
Field Value
Properties
ExcludeSecurities
Instruments that should be hidden.
public ISet<Security> ExcludeSecurities { get; }
Property Value
ExtendedInfoStorage
Extended info storage.
public IExtendedInfoStorageItem ExtendedInfoStorage { get; set; }
Property Value
FilteredSecurities
Filtered instruments.
public IListEx<Security> FilteredSecurities { get; }
Property Value
- IListEx<Security>
MarketDataProvider
The market data provider.
public IMarketDataProvider MarketDataProvider { get; set; }
Property Value
PriceChartDataProvider
Price chart data provider.
public IPriceChartDataProvider PriceChartDataProvider { get; set; }
Property Value
Securities
Available instruments.
public CollectionSecurityProvider Securities { get; }
Property Value
SecurityFilter
The current filter by the instrument.
public string SecurityFilter { get; set; }
Property Value
SecurityProvider
The provider of information about instruments.
public ISecurityProvider SecurityProvider { get; set; }
Property Value
SelectedSecurities
Selected instruments.
public IList<Security> SelectedSecurities { get; }
Property Value
SelectedSecurity
The selected instrument.
public Security SelectedSecurity { get; set; }
Property Value
SelectedType
The selected instrument type.
public SecurityTypes? SelectedType { get; set; }
Property Value
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
ShowCommonStatColumns
To show main columns with statistical data.
public bool ShowCommonStatColumns { get; set; }
Property Value
Title
The title for a table. By default, it is empty.
public string Title { get; set; }
Property Value
UnderlyingGrid
The table showing financial instruments (Security).
public SecurityGrid UnderlyingGrid { get; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings 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
SettingsStorageSettings storage.
SetColumnVisibility(string, Visibility)
To set the visibility for a column of the table.
public void SetColumnVisibility(string name, Visibility visibility)
Parameters
name
stringThe field name.
visibility
VisibilityThe visibility.
Events
GridChanged
The table change event.
public event Action GridChanged
Event Type
SecurityDoubleClick
Event of double-clicking the mouse on the selected Security.
public event Action<Security> SecurityDoubleClick
Event Type
SecuritySelected
The selected Security change events.
public event Action<Security> SecuritySelected