Share via


SizeRequest Struct

Definition

Caution

Use Microsoft.Maui.Size instead.

Struct that defines minimum and maximum Sizes.

public value class SizeRequest : IEquatable<Microsoft::Maui::SizeRequest>
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>
type SizeRequest = struct
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.SizeRequest+SizeRequestTypeConverter))>]
[<System.Obsolete("Use Microsoft.Maui.Size instead.")>]
type SizeRequest = struct
Public Structure SizeRequest
Implements IEquatable(Of 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

Equality(SizeRequest, SizeRequest)
Implicit(Size to SizeRequest)
Implicit(SizeRequest to Size)
Inequality(SizeRequest, SizeRequest)

Applies to