LayoutExtensions.ComputeDesiredSize(IView, Double, Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- view
- IView
- widthConstraint
- Double
- heightConstraint
- Double