Size.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the width of this instance of Size.
public:
property double Width { double get(); void set(double value); };
public double Width { get; set; }
member this.Width : double with get, set
Public Property Width As Double
Property Value
The Width of this instance of Size, in pixels. The default value 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for