Shape.MeasureOverride(Size) 方法

定义

排列之前在第一个布局处理过程中测量 Shape

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

Size 的最大 Shape

适用于

另请参阅