VisualElement.DesiredSize 属性

定义

获取在布局流程的度量传递过程中此元素计算所得的大小。

public:  property Microsoft::Maui::Graphics::Size DesiredSize {  public:
Microsoft::Maui::Graphics::Size get(); protected:
 void set(Microsoft::Maui::Graphics::Size value); };
public Microsoft.Maui.Graphics.Size DesiredSize { get; protected set; }
member this.DesiredSize : Microsoft.Maui.Graphics.Size with get, set
Public Property DesiredSize As Size

属性值

适用于