共用方式為


ViewHandler<TVirtualView,TPlatformView>.GetDesiredSize Method

Definition

public:
 override Microsoft::Maui::Graphics::Size GetDesiredSize(double widthConstraint, double heightConstraint);
public override Microsoft.Maui.Graphics.Size GetDesiredSize (double widthConstraint, double heightConstraint);
override this.GetDesiredSize : double * double -> Microsoft.Maui.Graphics.Size
Public Overrides Function GetDesiredSize (widthConstraint As Double, heightConstraint As Double) As Size

Parameters

widthConstraint
Double
heightConstraint
Double

Returns

Implements

Applies to