SizeRequest Constructors
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.
Overloads
SizeRequest(Size) |
Creates a new SizeRequest where preferred and minimum sizes are the same. |
SizeRequest(Size, Size) |
Creates a new SizeRequest with the specified preferred and minimum sizes. |
SizeRequest(Size)
- Source:
- SizeRequest.cs
- Source:
- SizeRequest.cs
- Source:
- SizeRequest.cs
Creates a new SizeRequest where preferred and minimum sizes are the same.
public:
SizeRequest(Microsoft::Maui::Graphics::Size request);
public SizeRequest(Microsoft.Maui.Graphics.Size request);
new Microsoft.Maui.SizeRequest : Microsoft.Maui.Graphics.Size -> Microsoft.Maui.SizeRequest
Public Sub New (request As Size)
Parameters
- request
- Size
The size to use for both Request and Minimum.
Applies to
SizeRequest(Size, Size)
- Source:
- SizeRequest.cs
- Source:
- SizeRequest.cs
- Source:
- SizeRequest.cs
Creates a new SizeRequest with the specified preferred and minimum sizes.
public:
SizeRequest(Microsoft::Maui::Graphics::Size request, Microsoft::Maui::Graphics::Size minimum);
public SizeRequest(Microsoft.Maui.Graphics.Size request, Microsoft.Maui.Graphics.Size minimum);
new Microsoft.Maui.SizeRequest : Microsoft.Maui.Graphics.Size * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.SizeRequest
Public Sub New (request As Size, minimum As Size)
Parameters
- request
- Size
The preferred size.
- minimum
- Size
The minimum acceptable size.