corelibraries-devexpress-dot-xtragauges-dot-core-dot-primitive-dot-baseleafprimitive-5f69ffb0.md
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
[DefaultValue(0)]
public int ZOrder { get; set; }
<DefaultValue(0)>
Public Property ZOrder As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
An integer value that specifies the Z-Order. Objects with higher Z-Orders are overlapped by objects with lower Z-Orders.
|
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
if (layer != null)
layer.ZOrder = 1000;
See Also