編輯

共用方式為


ScrollViewer.MeasureOverride(Size) Method

Definition

Measures the content of a ScrollViewer element.

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

Parameters

constraint
Size

The upper limit Size that should not be exceeded.

Returns

The computed desired limit Size of the ScrollViewer element.

Applies to