Share via


_CommandBarButton.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 _CommandBarButton
Dim value As Integer

value = instance.Top
int Top { get; }

Property Value

Type: System.Int32

Implements

CommandBarControl.Top

Remarks

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

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Top Overload

Microsoft.Office.Core Namespace