LinkLabel.ZOrder Property
Gets the z-order position of the LinkLabel.
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 LinkLabel.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.