Table of Contents

Class StrategiesStatisticsPanel

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The visual panel to display parameters IStatisticParameter of several strategies.

public class StrategiesStatisticsPanel : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
StrategiesStatisticsPanel
Implements
Inherited Members
Extension Methods

Constructors

StrategiesStatisticsPanel()

Initializes a new instance of the StrategiesStatisticsPanel.

public StrategiesStatisticsPanel()

Properties

MaxCountPnLChart

Max possible items.

public int MaxCountPnLChart { get; set; }

Property Value

int

ShowPnLChart

To show the P&L chart column.

public bool ShowPnLChart { get; set; }

Property Value

bool

ShowProgress

To show the Test Progress column.

public bool ShowProgress { get; set; }

Property Value

bool

ShowSecurity

To show the Security column.

public bool ShowSecurity { get; set; }

Property Value

bool

ShowStrategyName

To show the Name Strategy column.

public bool ShowStrategyName { get; set; }

Property Value

bool

UnderlyingGrid

The grid control.

public BaseGridControl UnderlyingGrid { get; }

Property Value

BaseGridControl

Methods

AddStrategy(Strategy)

To add strategy to the table.

public void AddStrategy(Strategy strategy)

Parameters

strategy Strategy

Strategy.

Clear()

To clear the table.

public void Clear()

ClearColumns()

Clear columns.

public void ClearColumns()

CreateColumns(Strategy)

Create columns.

public void CreateColumns(Strategy strategy)

Parameters

strategy Strategy

Strategy.

InitializeComponent()

InitializeComponent

public void InitializeComponent()

SetColumnVisibility(string, Visibility)

To set the visibility for a column of the table.

public void SetColumnVisibility(string parameterId, Visibility visibility)

Parameters

parameterId string

Id.

visibility Visibility

The visibility.

UpdateProgress(Strategy, int)

To update the progress for the strategy.

public void UpdateProgress(Strategy strategy, int progress)

Parameters

strategy Strategy

Strategy.

progress int

Progress.

Events

SelectionChanged

The selected strategies change event.

public event Action SelectionChanged

Event Type

Action