IndexEditor
StockSharp.Xaml
编辑 ExpressionIndexSecurity 的图形控制 。
继承自: UserControl
构造函数
属性
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
提供各种文书的信息。
方法
InitializeComponent
public void InitializeComponent()
indexEditor.InitializeComponent()
InitializeComponent
事件
SecurityClicked
public event Action<Security> SecurityClicked
indexEditor.SecurityClicked += handler
点击乐器的事件。
TextChanged
public event TextChangedEventHandler TextChanged
indexEditor.TextChanged += handler
变换事件文本 。