ISuspendable

StockSharp.Xaml.Charting.Visuals

Types which implement ISuspendable can have updates suspended/resumed. Useful for batch operations

Properties

IsSuspended
public bool IsSuspended { get; }
value = iSuspendable.IsSuspended

Gets a value indicating whether updates for the target are currently suspended

Methods

DecrementSuspend
public void DecrementSuspend()
iSuspendable.DecrementSuspend()

Called by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, ResumeUpdates is called

ResumeUpdates
public void ResumeUpdates(IUpdateSuspender suspender)
iSuspendable.ResumeUpdates(suspender)

Resumes updates on the target, intended to be called by IUpdateSuspender

SuspendUpdates
public IUpdateSuspender SuspendUpdates()
result = iSuspendable.SuspendUpdates()

Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued

Returns: The disposable Update Suspender