Share via


RibbonControlSizeDefinition.MaxWidth 屬性

定義

取得或設定功能區中容器控制項的最大寬度條件約束。

public:
 property System::Windows::Controls::Ribbon::RibbonControlLength MaxWidth { System::Windows::Controls::Ribbon::RibbonControlLength get(); void set(System::Windows::Controls::Ribbon::RibbonControlLength value); };
public System.Windows.Controls.Ribbon.RibbonControlLength MaxWidth { get; set; }
member this.MaxWidth : System.Windows.Controls.Ribbon.RibbonControlLength with get, set
Public Property MaxWidth As RibbonControlLength

屬性值

控制項的最大寬度。 已註冊的預設值是 PositiveInfinity。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

如果控制項是其他物件的容器,這個屬性才會有作用。

相依性屬性資訊

識別碼欄位 MaxWidthProperty
設定為 的中繼資料屬性 true

適用於

另請參閱