SizeRequest Struct

Definition

Caution

Use Microsoft.Maui.Size instead.

Struct that defines minimum and maximum Sizes.

public struct SizeRequest : IEquatable<Microsoft.Maui.SizeRequest>
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.SizeRequest+SizeRequestTypeConverter))]
[System.Obsolete("Use Microsoft.Maui.Size instead.")]
public struct SizeRequest : IEquatable<Microsoft.Maui.SizeRequest>
Inheritance
SizeRequest
Attributes
Implements

Constructors

SizeRequest(Size, Size)

Creates a new SizeRequest object that requests at least the size minimum, but preferably the size request.

SizeRequest(Size)

Creates a new SizeRequest with the specified request size.

Properties

Minimum

The minimum acceptable size.

Request

The requested size.

Methods

Equals(Object)
Equals(SizeRequest)
GetHashCode()
ToString()

Returns a string representation of the size request.

Operators

Applies to

Product Versions (Obsolete)
.NET MAUI 8 (9)