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
SelectedStrategies
Selected strategies.
public IEnumerable<Strategy> SelectedStrategies { get; }
Property Value
SelectedStrategy
Selected strategy.
public Strategy SelectedStrategy { get; }
Property Value
ShowPnLChart
To show the P&L chart column.
public bool ShowPnLChart { get; set; }
Property Value
ShowProgress
To show the Test Progress column.
public bool ShowProgress { get; set; }
Property Value
ShowSecurity
To show the Security column.
public bool ShowSecurity { get; set; }
Property Value
ShowStrategyName
To show the Name Strategy column.
public bool ShowStrategyName { get; set; }
Property Value
UnderlyingGrid
The grid control.
public BaseGridControl UnderlyingGrid { get; }
Property Value
Methods
AddStrategy(Strategy)
To add strategy to the table.
public void AddStrategy(Strategy strategy)
Parameters
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
StrategyStrategy.
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
stringId.
visibility
VisibilityThe visibility.
UpdateProgress(Strategy, int)
To update the progress for the strategy.
public void UpdateProgress(Strategy strategy, int progress)
Parameters
Events
SelectionChanged
The selected strategies change event.
public event Action SelectionChanged
Event Type
StrategyDoubleClick
The strategy double click event.
public event Action<Strategy> StrategyDoubleClick