共用方式為


ToolBarTray.MeasureOverride(Size) 方法

定義

呼叫以重新測量 ToolBarTray

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size constraint);
protected override System.Windows.Size MeasureOverride (System.Windows.Size constraint);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (constraint As Size) As Size

參數

constraint
Size

度量條件約束 (Constraint),ToolBarTray 無法傳回大於該條件約束的大小。

傳回

控制項的大小。

適用於