IndexEditor

StockSharp.Xaml

Графический элемент управления для редактирования ExpressionIndexSecurity.

Наследует: UserControl

Реализует: IComponentConnector

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

IndexEditor
public IndexEditor()
indexEditor = IndexEditor()

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

Свойства

HasError
public bool HasError { get; private set; }
value = indexEditor.HasError
indexEditor.HasError = value

Выражение содержит ошибку.

HighligthBackColor
public Brush HighligthBackColor { get; set; }
value = indexEditor.HighligthBackColor
indexEditor.HighligthBackColor = value

Цвет фона функций. Значение по умолчанию - Белый.

HighligthForeColor
public Brush HighligthForeColor { get; set; }
value = indexEditor.HighligthForeColor
indexEditor.HighligthForeColor = value

Цвет шрифта функции. Значение по умолчанию - Красный.

HighligthFunctions
public IEnumerable<string> HighligthFunctions { get; }
value = indexEditor.HighligthFunctions

Список выделенных признаков.

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

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

Text
public string Text { get; set; }
value = indexEditor.Text
indexEditor.Text = value

Текст.

Методы

InitializeComponent
public void InitializeComponent()
indexEditor.InitializeComponent()

InitializeComponent

События

SecurityClicked
public event Action<Security> SecurityClicked
indexEditor.SecurityClicked += handler

Событие щелчка по инструменту.

TextChanged
public event TextChangedEventHandler TextChanged
indexEditor.TextChanged += handler

Текст события изменения.