WorkingTimeControlView
StockSharp.Xaml.Panels.Maui
View for editing working time schedules.
Inherits: BasePanelView
Constructors
WorkingTimeControlView()
Creates a new instance.
Properties
IsWorkingTimeEnabled : bool
Gets or sets whether working time is enabled.
ShowActive : bool
Gets or sets whether to show the active checkbox.
ViewModel : WorkingTimeControlViewModel
Gets the ViewModel.
Methods
Clear()
Clears all periods.
GetPeriods() : IEnumerable<ValueTuple<DateTime, IEnumerable<ValueTuple<TimeSpan, TimeSpan>>>>
Gets the periods data.
LoadPeriods(IEnumerable<ValueTuple<DateTime, IEnumerable<ValueTuple<TimeSpan, TimeSpan>>>>, bool)
Loads periods from data.
Events
DataChanged : EventHandler
Event raised when data changes.
Error : EventHandler<string>
Event raised when an error occurs.