編輯

共用方式為


ContentPresenter.ArrangeOverride(Size) Method

Definition

Positions the single child element and determines the content of a ContentPresenter object.

protected:
 override System::Windows::Size ArrangeOverride(System::Windows::Size arrangeSize);
protected override System.Windows.Size ArrangeOverride (System.Windows.Size arrangeSize);
override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function ArrangeOverride (arrangeSize As Size) As Size

Parameters

arrangeSize
Size

The size that this ContentPresenter object should use to arrange its child element.

Returns

The actual size needed by the element.

Applies to

See also