Share via


Assistant.Top Property

Sets or returns the distance (in points) from the top of the Office Assistant, or from the top edge of the specified command bar, to the top edge of the screen.

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

Syntax

'Declaration
Property Top As Integer
    Get
    Set
'Usage
Dim instance As Assistant
Dim value As Integer

value = instance.Top

instance.Top = value
int Top { get; set; }

Property Value

Type: System.Int32

Remarks

For docked command bars, this property returns or sets the distance from the command bar to the top of the docking area.

See Also

Reference

Assistant Interface

Assistant Members

Microsoft.Office.Core Namespace