GridViewRowPresenter.MeasureOverride(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

用于显示 Content 的最大区域。

返回

Size

显示 Size 的实际区域 Content

适用于