Size.Width Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the Width of this instance of Size.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public double Width { get; set; }

Property Value

Type: System.Double

The Width of this instance of Size. The default value is 0. The value cannot be negative.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top