Window.Height Property

Definition

Returns or sets the height of the window.

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

Property Value

Remarks

You cannot set this property if the window is maximized or minimized.

Use the UsableHeight property of the Application object to determine the maximum size for the window. Use the WindowState property to determine the window state.

Applies to