ChartActiveOrdersElement

StockSharp.Xaml.Charting

The chart element representing active orders.

Inherits: ChartElement<ChartActiveOrdersElement>

Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartActiveOrdersElement

Constructors

ChartActiveOrdersElement
public ChartActiveOrdersElement()
chartActiveOrdersElement = ChartActiveOrdersElement()

Initializes a new instance of the ChartActiveOrdersElement.

Properties

BuyBlinkColor
public Color BuyBlinkColor { get; set; }
value = chartActiveOrdersElement.BuyBlinkColor
chartActiveOrdersElement.BuyBlinkColor = value

Color of blinking in partially filled state (Buy).

BuyColor
public Color BuyColor { get; set; }
value = chartActiveOrdersElement.BuyColor
chartActiveOrdersElement.BuyColor = value

Color of Buy order in active state.

BuyPendingColor
public Color BuyPendingColor { get; set; }
value = chartActiveOrdersElement.BuyPendingColor
chartActiveOrdersElement.BuyPendingColor = value

Color of Buy order in non-active state.

CancelButtonBackground
public Color CancelButtonBackground { get; set; }
value = chartActiveOrdersElement.CancelButtonBackground
chartActiveOrdersElement.CancelButtonBackground = value

Cancel order button background color.

CancelButtonColor
public Color CancelButtonColor { get; set; }
value = chartActiveOrdersElement.CancelButtonColor
chartActiveOrdersElement.CancelButtonColor = value

Cancel order button color.

ForegroundColor
public Color ForegroundColor { get; set; }
value = chartActiveOrdersElement.ForegroundColor
chartActiveOrdersElement.ForegroundColor = value

Text color.

IsAnimationEnabled
public bool IsAnimationEnabled { get; set; }
value = chartActiveOrdersElement.IsAnimationEnabled
chartActiveOrdersElement.IsAnimationEnabled = value

Show chart element.

SellBlinkColor
public Color SellBlinkColor { get; set; }
value = chartActiveOrdersElement.SellBlinkColor
chartActiveOrdersElement.SellBlinkColor = value

Color of blinking in partially filled state (Sell).

SellColor
public Color SellColor { get; set; }
value = chartActiveOrdersElement.SellColor
chartActiveOrdersElement.SellColor = value

Color of Sell order in active state.

SellPendingColor
public Color SellPendingColor { get; set; }
value = chartActiveOrdersElement.SellPendingColor
chartActiveOrdersElement.SellPendingColor = value

Color of Sell order in non-active state.

Methods

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartActiveOrdersElement.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous load operation.

OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartActiveOrdersElement.OnDraw(data)

Draw on root element.

data
Chart drawing data.

Returns: if the data was successfully drawn, otherwise, returns .

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartActiveOrdersElement.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

Returns: A task that represents the asynchronous save operation.