ScrollViewer.MeasureOverride(Size) 方法

定义

测量 ScrollViewer 元素的内容。

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 元素的经过计算的所需限制 ScrollViewer

适用于