Share via


CommandBarControl.Top Property

Returns the distance (in pixels) from the top edge of the specified command bar control to the top edge of the screen.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Property Top As Integer
    Get
'Usage
Dim instance As CommandBarControl
Dim value As Integer

value = instance.Top
int Top { get; }

Property Value

Type: System.Int32

Remarks

Some of the content in this topic may not be applicable to some languages.

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.Office.Core Namespace