Udostępnij za pośrednictwem


VScrollBar.ZOrder Property (2007 System)

Gets the z-order position of the VScrollBar.

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

Syntax

'Declaration
Public ReadOnly Property ZOrder As Integer
'Usage
Dim instance As VScrollBar 
Dim value As Integer 

value = instance.ZOrder
public int ZOrder { get; }
public:
property int ZOrder {
    int get ();
}
public function get ZOrder () : int

Property Value

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

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

VScrollBar Class

VScrollBar Members

Microsoft.Office.Tools.Excel.Controls Namespace