Share via


NumericUpDown.ZOrder Property

Gets the z-order position of the NumericUpDown.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property ZOrder As Integer
    Get
public int ZOrder { get; }

Property Value

Type: System.Int32
The z-order position of the NumericUpDown.

Remarks

The z-order is determined by the OLEObjects collection.

In any collection of objects, the object at the back of the z-order is collection(1), and the object at the front of the z-order is collection(collection.Count).

Examples

For a code example that demonstrates how to use this property, see Button.ZOrder. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent ZOrder property.

.NET Framework Security

See Also

Reference

NumericUpDown Class

Microsoft.Office.Tools.Excel.Controls Namespace