Table of Contents

Class StringFormatDiagramElement

Namespace
StockSharp.Diagram.Elements
Assembly
StockSharp.Diagram.Core.dll

String formatting element for single value using templates.

[Display(ResourceType = typeof(LocalizedStrings), Name = "StringFormatter", Description = "StringFormatterDesc", GroupName = "Inform")]
[Doc("topics/designer/strategies/using_visual_designer/elements/notifying/string_format.html")]
public sealed class StringFormatDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
StringFormatDiagramElement
Implements
Inherited Members
Extension Methods

Constructors

StringFormatDiagramElement()

Initializes a new instance of the StringFormatDiagramElement.

public StringFormatDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Template

String formatting template using for single value.

public string Template { get; set; }

Property Value

string

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

OnPrepare()

To prepare for starting the diagram element algorithm.

protected override void OnPrepare()

OnReseted()

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

protected override void OnReseted()