共用方式為


InkPresenter.MeasureOverride(Size) 方法

定義

測量 Decorator 的子項目,以準備在 ArrangeOverride(Size) 傳遞期間進行排列。

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

不應超過此上限 Size

傳回

項目的目標 Size

適用於

另請參閱