Table of Contents

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

RoutedCommand

MaxItemsCountProperty

public static readonly DependencyProperty MaxItemsCountProperty

Field Value

DependencyProperty

ShowStrategiesProperty

public static readonly DependencyProperty ShowStrategiesProperty

Field Value

DependencyProperty

Properties

LogControl

The graphical component for logs displaying.

public LogControl LogControl { get; }

Property Value

LogControl

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

int

ShowStrategies

To show the 'Strategy' node. Enabled by default.

public bool ShowStrategies { get; set; }

Property Value

bool

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 SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings 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

Event Type

Action