StringFormatDiagramElement

StockSharp.Diagram.Elements

String formatting element for single value using templates.

Inherits: DiagramElement

Constructors

StringFormatDiagramElement
public StringFormatDiagramElement()
stringFormatDiagramElement = StringFormatDiagramElement()

Initializes a new instance of the StringFormatDiagramElement.

Properties

IconName
public override string IconName { get; }
value = stringFormatDiagramElement.IconName

Icon resource name.

Template
public string Template { get; set; }
value = stringFormatDiagramElement.Template
stringFormatDiagramElement.Template = value

String formatting template using for single value.

TypeId
public override Guid TypeId { get; }
value = stringFormatDiagramElement.TypeId

The unique identifier of the diagram element type.

Methods

OnPrepare
protected override void OnPrepare()
stringFormatDiagramElement.OnPrepare()

To prepare for starting the diagram element algorithm.

OnReseted
protected override void OnReseted()
stringFormatDiagramElement.OnReseted()

The method is called at re-initialisation of the diagram element state.