CommandBar.Top Property

Definition

Returns or sets the distance (in points) from the top edge of the specified command bar to the top edge of the screen.

public:
 property int Top { int get(); void set(int value); };
public int Top { get; set; }
member this.Top : int with get, set
Public Property Top As Integer

Property Value

Remarks

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

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

Applies to