GreedyWrapPanel.MeasureOverride(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method calculates the amount of space this panel will request. For Orientation=Vertical, it will use as many columns as it has space and children for. For Orientation=Horizontal, it will use as many rows as it has space and children for.
protected:
override System::Windows::Size MeasureOverride(System::Windows::Size availableSize);
protected override System.Windows.Size MeasureOverride (System.Windows.Size availableSize);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size
Parameters
- availableSize
- Size
The maximum space that the parent is giving this panel.
Returns
The amount of space that this panel is requesting.