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

屬性值

適用於