Freigeben über


GreedyWrapPanel.ArrangeOverride(Size) Method

Definition

This method arranges the children. For Orientation=Vertical, it uses as many columns as it can, until it reaches MaxWrappingLevels. For Orientation=Horizontal, it uses the maximum number of rows possible. However, for both, their columns or rows respectively will never be more than MaxWrappingLevels.

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

Parameters

finalSize
Size

The size given this panel.

Returns

The size used by this panel.

Applies to