Table of Contents

Class ChartActiveOrdersElement

Namespace
StockSharp.Xaml.Charting
Assembly
StockSharp.Xaml.Charting.dll

The chart element representing active orders.

[Display(ResourceType = typeof(LocalizedStrings), Name = "ActiveOrders")]
public class ChartActiveOrdersElement : ChartElement<ChartActiveOrdersElement>, IChartPart<ChartActiveOrdersElement>, IChartActiveOrdersElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
Inheritance
ChartActiveOrdersElement
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

ChartActiveOrdersElement()

Initializes a new instance of the ChartActiveOrdersElement.

public ChartActiveOrdersElement()

Properties

BuyBlinkColor

Color of blinking in partially filled state (Buy).

[Display(ResourceType = typeof(LocalizedStrings), Name = "BuyBlinkColor", Description = "BuyBlinkColorDot", Order = 3)]
public Color BuyBlinkColor { get; set; }

Property Value

Color

BuyColor

Color of Buy order in active state.

[Display(ResourceType = typeof(LocalizedStrings), Name = "BuyColor", Description = "BuyColorDot", Order = 2)]
public Color BuyColor { get; set; }

Property Value

Color

BuyPendingColor

Color of Buy order in non-active state.

[Display(ResourceType = typeof(LocalizedStrings), Name = "BuyPendingColor", Description = "BuyPendingColorDot", Order = 1)]
public Color BuyPendingColor { get; set; }

Property Value

Color

CancelButtonBackground

Cancel order button background color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "CancelButtonBgColor", Description = "CancelButtonBgColorDot", Order = 8)]
public Color CancelButtonBackground { get; set; }

Property Value

Color

CancelButtonColor

Cancel order button color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "CancelButtonColor", Description = "CancelButtonColorDot", Order = 7)]
public Color CancelButtonColor { get; set; }

Property Value

Color

ForegroundColor

Text color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FontColor", Description = "FontColorDot", Order = 9)]
public Color ForegroundColor { get; set; }

Property Value

Color

IsAnimationEnabled

Show chart element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Animation", Description = "AnimationDot", Order = 10)]
public bool IsAnimationEnabled { get; set; }

Property Value

bool

SellBlinkColor

Color of blinking in partially filled state (Sell).

[Display(ResourceType = typeof(LocalizedStrings), Name = "SellBlinkColor", Description = "SellBlinkColorDot", Order = 6)]
public Color SellBlinkColor { get; set; }

Property Value

Color

SellColor

Color of Sell order in active state.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SellColor", Description = "SellColorDot", Order = 5)]
public Color SellColor { get; set; }

Property Value

Color

SellPendingColor

Color of Sell order in non-active state.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SellPendingColor", Description = "SellPendingColorDot", Order = 4)]
public Color SellPendingColor { get; set; }

Property Value

Color

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(ChartDrawData)

Draw on root element.

protected override bool OnDraw(ChartDrawData data)

Parameters

data ChartDrawData

Chart drawing data.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.