LinkLabel.ZOrder Property

Definition

Gets the z-order position of the LinkLabel.

public:
 property int ZOrder { int get(); };
public int ZOrder { get; }
member this.ZOrder : int
Public ReadOnly Property ZOrder As Integer

Property Value

The z-order position of the LinkLabel.

Examples

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

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).

Applies to