WPF Charting Documentation - SciChart WPF Charts SDK v5.x
RenderOperationLayers Class
Members  Example 
A collection of RenderOperationLayer layers, which allow rendering operations to be posted to a layered queue for later execution in order (and correct Z-ordering).
Object Model
RenderOperationLayers ClassRenderOperationLayer Class
Syntax
[DefaultMember("Item")]
public class RenderOperationLayers 
Example
Demonstrates how to enqueue operations to the RenderOperationLayers collection and later flush to ensure rendering operations get processed in the correct Z-order
RenderOperationLayers layers = renderContext.Layers;
 
// Enqueue some operations in the layers in any order
layers[RenderLayer.AxisMajorGridlines].Enqueue(() => renderContext.DrawLine(/* .. */));
layers[RenderLayer.AxisBands].Enqueue(() => renderContext.DrawRectangle(/* .. */));
layers[RenderLayer.AxisMinorGridlines].Enqueue(() => renderContext.DrawLine(/* .. */));
 
// Processes all layers by executing enqueued operations in order of adding, 
// and in Z-order of layers
layers.Flush();
Inheritance Hierarchy

System.Object
   SciChart.Drawing.Common.RenderOperationLayers

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RenderOperationLayers Members
SciChart.Drawing.Common Namespace
RenderLayer Enumeration
RenderOperationLayer Class
RenderSurfaceBase Class

 

 


SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback