共用方式為


SizeRequest 結構

定義

警告

Use Microsoft.Maui.Size instead.

定義最大和最小 Size 的結構。

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)
繼承
SizeRequest
屬性
實作

建構函式

SizeRequest(Size)
已淘汰.

使用指定的 request 大小建立新 SizeRequest

SizeRequest(Size, Size)
已淘汰.

建立新的 SizeRequest 物件,其至少要求大小 minimum,但最好是大小 request

屬性

Minimum
已淘汰.

可接受的最小大小。

Request
已淘汰.

要求的大小。

方法

Equals(Object)
已淘汰.

定義最大和最小 Size 的結構。

Equals(SizeRequest)
已淘汰.

定義最大和最小 Size 的結構。

GetHashCode()
已淘汰.

定義最大和最小 Size 的結構。

ToString()
已淘汰.

傳回大小要求的字串表示。

運算子

Equality(SizeRequest, SizeRequest)
已淘汰.

定義最大和最小 Size 的結構。

Implicit(Size to SizeRequest)
已淘汰.

定義最大和最小 Size 的結構。

Implicit(SizeRequest to Size)
已淘汰.

定義最大和最小 Size 的結構。

Inequality(SizeRequest, SizeRequest)
已淘汰.

定義最大和最小 Size 的結構。

適用於