Back to Devexpress

BaseLeafPrimitive.ZOrder Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-primitive-dot-baseleafprimitive-5f69ffb0.md

latest2.3 KB
Original Source

BaseLeafPrimitive.ZOrder Property

Gets or sets the Z-Order of the object.

Namespace : DevExpress.XtraGauges.Core.Primitive

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
[DefaultValue(0)]
public int ZOrder { get; set; }
vb
<DefaultValue(0)>
Public Property ZOrder As Integer

Property Value

TypeDefaultDescription
Int320

An integer value that specifies the Z-Order. Objects with higher Z-Orders are overlapped by objects with lower Z-Orders.

|

Remarks

This property specifies the Z-Order for the BaseLeafPrimitive class descendants.

For more information, see Coordinate System.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ZOrder property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L53

csharp
if (layer != null)
    layer.ZOrder = 1000;

See Also

BaseLeafPrimitive Class

BaseLeafPrimitive Members

DevExpress.XtraGauges.Core.Primitive Namespace