Class Monitor
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
The component for trading strategies work monitoring.
public class Monitor : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ILogListener, IPersistable, IDisposable, IComponentConnector
- Inheritance
-
Monitor
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
Monitor()
Initializes a new instance of the Monitor.
public Monitor()
Fields
ClearCommand
Command for clear logs.
public static readonly RoutedCommand ClearCommand
Field Value
MaxItemsCountProperty
public static readonly DependencyProperty MaxItemsCountProperty
Field Value
ShowStrategiesProperty
public static readonly DependencyProperty ShowStrategiesProperty
Field Value
Properties
LogControl
The graphical component for logs displaying.
public LogControl LogControl { get; }
Property Value
MaxItemsCount
The maximum number of entries to display. The -1 value means an unlimited amount of records. By default, the last 10000 records for 64-bit process and 1000 records for 32-bit process are displayed.
public int MaxItemsCount { get; set; }
Property Value
ShowStrategies
To show the 'Strategy' node. Enabled by default.
public bool ShowStrategies { get; set; }
Property Value
Methods
Clear()
To delete all messages.
public void Clear()
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
WriteMessages(IEnumerable<LogMessage>)
To record messages.
public void WriteMessages(IEnumerable<LogMessage> messages)
Parameters
messages
IEnumerable<LogMessage>Debug messages.
Events
LayoutChanged
Layout changed event.
public event Action LayoutChanged