SpecialDaysControl

StockSharp.Xaml.PropertyGrid

Editor for SpecialDays.

继承自: UserControl

实现: IComponentConnector

构造函数

SpecialDaysControl
public SpecialDaysControl()
specialDaysControl = SpecialDaysControl()

初始化了 & ##SpecialDaysControl+#的新实例.

属性

SpecialDays
public IDictionary<DateTime, Range<TimeSpan>[]> SpecialDays { get; set; }
value = specialDaysControl.SpecialDays
specialDaysControl.SpecialDays = value

特殊工作日及节假日.

方法

InitializeComponent
public void InitializeComponent()
specialDaysControl.InitializeComponent()

InitializeComponent

事件

DataChanged
public event Action DataChanged
specialDaysControl.DataChanged += handler

SpecialDays changed event.

Error
public event Action<string, bool> Error
specialDaysControl.Error += handler

处理错误者 。

字段

SpecialDaysProperty
public static readonly DependencyProperty SpecialDaysProperty
value = SpecialDaysControl.SpecialDaysProperty

DependencyProperty 为SpecialDays.