IndexEditor

StockSharp.Xaml

The graphic control for editing ExpressionIndexSecurity.

Inherits: UserControl

Implements: IComponentConnector

Constructors

IndexEditor
public IndexEditor()
indexEditor = IndexEditor()

Initializes a new instance of the IndexEditor.

Properties

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

The expression contains an error.

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

The functions background color. The default value is White.

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

The functions font color. The default value is Red.

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

The list of highlighted features.

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

The provider of information about instruments.

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

Text.

Methods

InitializeComponent
public void InitializeComponent()
indexEditor.InitializeComponent()

InitializeComponent

Events

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

The event of click on the instrument.

TextChanged
public event TextChangedEventHandler TextChanged
indexEditor.TextChanged += handler

The change event Text.