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

适用于

另请参阅