編集

次の方法で共有


ItemsPresenter.MeasureOverride(Size) Method

Definition

Overrides the base class implementation of MeasureOverride(Size) to measure the size of the ItemsPresenter object and return proper sizes to the layout engine.

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

Constraint size is an "upper limit." The return value should not exceed this size.

Returns

The desired size.

Applies to