Redigera

Dela via


Size.Height Property

Definition

Gets or sets the height of this instance of Size.

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

Property Value

The Height of this instance of Size, in pixels. The default is 0. The value cannot be negative.

Exceptions

Specified a value less than 0.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Size struct. For more information, see Size in the UWP API reference.

Applies to