IView.DesiredSize 属性

定义

获取此视图的当前所需大小。

public:
 property Microsoft::Maui::Graphics::Size DesiredSize { Microsoft::Maui::Graphics::Size get(); };
public Microsoft.Maui.Graphics.Size DesiredSize { get; }
member this.DesiredSize : Microsoft.Maui.Graphics.Size
Public ReadOnly Property DesiredSize As Size

属性值

适用于