Positions child objects and determines a size for a
System.Windows.UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub Arrange( _
ByVal finalRect As System.Windows.Rect _
) |
| C# | |
|---|
public void Arrange(
System.Windows.Rect finalRect
) |
Parameters
- finalRect
- The final size that the parent computes for the child in layout, provided as a System.Windows.Rect value.
Exceptions
| Exception | Description |
| System.InvalidOperationException | finalRect contained a System.Double.NaN or infinite value. See Remarks. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also