SecurityPicker

StockSharp.Xaml

Визуальный компонент для поиска и выбора финансовых инструментов.

Наследует: UserControl

Реализует: IPersistable, IComponentConnector

Конструкторы

SecurityPicker
public SecurityPicker()
securityPicker = SecurityPicker()

Инициирует новый экземпляр документа SecurityPicker.

Свойства

ExcludeSecurities
public ISet<Security> ExcludeSecurities { get; }
value = securityPicker.ExcludeSecurities

Инструменты, которые нужно скрывать.

ExtendedInfoStorage
public IExtendedInfoStorageItem ExtendedInfoStorage { get; set; }
value = securityPicker.ExtendedInfoStorage
securityPicker.ExtendedInfoStorage = value

Расширенное хранилище информации.

FilteredSecurities
public IListEx<Security> FilteredSecurities { get; }
value = securityPicker.FilteredSecurities

Фильтрированные инструменты.

FilteredSecuritiesSource
public IListEx<Security> FilteredSecuritiesSource { get; set; }
value = securityPicker.FilteredSecuritiesSource
securityPicker.FilteredSecuritiesSource = value

Фильтрованные финансовые инструменты для связывания. Автоматически синхронизированы с FilteredSecurities.

MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = securityPicker.MarketDataProvider
securityPicker.MarketDataProvider = value

Поставщик рыночных данных.

PriceChartDataProvider
public IPriceChartDataProvider PriceChartDataProvider { get; set; }
value = securityPicker.PriceChartDataProvider
securityPicker.PriceChartDataProvider = value

Поставщик данных о ценовых диаграммах.

Securities
public CollectionSecurityProvider Securities { get; }
value = securityPicker.Securities

Доступные инструменты.

SecurityDoubleClickCommand
public ICommand SecurityDoubleClickCommand { get; set; }
value = securityPicker.SecurityDoubleClickCommand
securityPicker.SecurityDoubleClickCommand = value

Командование выполняется на финансовом инструменте дважды клик.

SecurityFilter
public string SecurityFilter { get; set; }
value = securityPicker.SecurityFilter
securityPicker.SecurityFilter = value

Фильтр тока по прибору.

SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = securityPicker.SecurityProvider
securityPicker.SecurityProvider = value

Поставщик информации об инструментах.

SelectedSecurities
public IList<Security> SelectedSecurities { get; }
value = securityPicker.SelectedSecurities

Избранные инструменты.

SelectedSecuritiesSource
public IList<Security> SelectedSecuritiesSource { get; set; }
value = securityPicker.SelectedSecuritiesSource
securityPicker.SelectedSecuritiesSource = value

Выбранные финансовые инструменты (обязательные). Обновляемые при изменении выбора.

SelectedSecurity
public Security SelectedSecurity { get; set; }
value = securityPicker.SelectedSecurity
securityPicker.SelectedSecurity = value

выбранного инструмента.

SelectedType
public SecurityTypes? SelectedType { get; set; }
value = securityPicker.SelectedType
securityPicker.SelectedType = value

выбранный тип инструмента.

SelectionMode
public MultiSelectMode SelectionMode { get; set; }
value = securityPicker.SelectionMode
securityPicker.SelectionMode = value

Режим выбора пунктов списка. По умолчанию Row.

ShowCommonOptionColumns
public bool ShowCommonOptionColumns { get; set; }
value = securityPicker.ShowCommonOptionColumns
securityPicker.ShowCommonOptionColumns = value

Показать основные столбцы со статистическими данными.

ShowCommonStatColumns
public bool ShowCommonStatColumns { get; set; }
value = securityPicker.ShowCommonStatColumns
securityPicker.ShowCommonStatColumns = value

Показать основные столбцы со статистическими данными.

Title
public string Title { get; set; }
value = securityPicker.Title
securityPicker.Title = value

Название для таблицы по умолчанию пустое.

UnderlyingGrid
public SecurityGrid UnderlyingGrid { get; }
value = securityPicker.UnderlyingGrid

Таблица с указанием финансовых инструментов (финансовый инструмент).

Методы

InitializeComponent
public void InitializeComponent()
securityPicker.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
securityPicker.Load(storage)

Загрузить настройки.

storage
Хранилище настроек.
ProcessLevel1
public void ProcessLevel1(IDictionary<Security, Level1ChangeMessage> changes)
securityPicker.ProcessLevel1(changes)

Непосредственно обновляйте последние значения.

changes
Изменения.
Save
public void Save(SettingsStorage storage)
securityPicker.Save(storage)

Сохраните настройки.

storage
Хранилище настроек.
SetColumnVisibility
public void SetColumnVisibility(string name, Visibility visibility)
securityPicker.SetColumnVisibility(name, visibility)

Чтобы установить видимость для столбца таблицы.

name
Название поля.
visibility
Видимость.

События

GridChanged
public event Action GridChanged
securityPicker.GridChanged += handler

Событие изменения таблицы.

SecurityDoubleClick
public event Action<Security> SecurityDoubleClick
securityPicker.SecurityDoubleClick += handler

Событие двойного щелчка мышью по выбранному финансовому инструменту.

SecuritySelected
public event Action<Security> SecuritySelected
securityPicker.SecuritySelected += handler

События изменения выбранного финансового инструмента.

Поля

ExtendedInfoStorageProperty
public static readonly DependencyProperty ExtendedInfoStorageProperty
value = SecurityPicker.ExtendedInfoStorageProperty

DependencyProperty для ExtendedInfoStorage.

FilteredSecuritiesSourceProperty
public static readonly DependencyProperty FilteredSecuritiesSourceProperty
value = SecurityPicker.FilteredSecuritiesSourceProperty

DependencyProperty для FilteredSecuritiesSource.

SecurityDoubleClickCommandProperty
public static readonly DependencyProperty SecurityDoubleClickCommandProperty
value = SecurityPicker.SecurityDoubleClickCommandProperty

DependencyProperty для SecurityDoubleClickCommand.

SelectedSecuritiesSourceProperty
public static readonly DependencyProperty SelectedSecuritiesSourceProperty
value = SecurityPicker.SelectedSecuritiesSourceProperty

DependencyProperty для SelectedSecuritiesSource.

SelectedSecurityProperty
public static readonly DependencyProperty SelectedSecurityProperty
value = SecurityPicker.SelectedSecurityProperty

DependencyProperty для SelectedSecurity.

SelectionModeProperty
public static readonly DependencyProperty SelectionModeProperty
value = SecurityPicker.SelectionModeProperty

DependencyProperty для SelectionMode.

ShowCommonOptionColumnsProperty
public static readonly DependencyProperty ShowCommonOptionColumnsProperty
value = SecurityPicker.ShowCommonOptionColumnsProperty

DependencyProperty для ShowCommonOptionColumns.

ShowCommonStatColumnsProperty
public static readonly DependencyProperty ShowCommonStatColumnsProperty
value = SecurityPicker.ShowCommonStatColumnsProperty

DependencyProperty для ShowCommonStatColumns.

TitleProperty
public static readonly DependencyProperty TitleProperty
value = SecurityPicker.TitleProperty

DependencyProperty для названия.