VisualElement.MaximumWidthRequest 屬性

定義

取得或設定專案在版面配置期間要求的最大寬度。 這是可繫結屬性。

public:
 property double MaximumWidthRequest { double get(); void set(double value); };
public double MaximumWidthRequest { get; set; }
member this.MaximumWidthRequest : double with get, set
Public Property MaximumWidthRequest As Double

屬性值

備註

預設值是 PositiveInfinity

MaximumWidthRequest 用於確保元素在版面配置期間不超過指定的寬度。

適用於