共用方式為


LayoutExtensions.ComputeDesiredSize(IView, Double, Double) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Size ComputeDesiredSize(Microsoft::Maui::IView ^ view, double widthConstraint, double heightConstraint);
public static Microsoft.Maui.Graphics.Size ComputeDesiredSize (this Microsoft.Maui.IView view, double widthConstraint, double heightConstraint);
static member ComputeDesiredSize : Microsoft.Maui.IView * double * double -> Microsoft.Maui.Graphics.Size
<Extension()>
Public Function ComputeDesiredSize (view As IView, widthConstraint As Double, heightConstraint As Double) As Size

Parameters

view
IView
widthConstraint
Double
heightConstraint
Double

Returns

Applies to