ArrangeOverride Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Positions child elements and determines a size for a UIElement-derived class when implemented in a derived class.

Namespace:  Microsoft.SPOT.Presentation
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Protected Overridable Sub ArrangeOverride ( _
    arrangeWidth As Integer, _
    arrangeHeight As Integer _
)
protected virtual void ArrangeOverride(
    int arrangeWidth,
    int arrangeHeight
)
protected:
virtual void ArrangeOverride(
    int arrangeWidth, 
    int arrangeHeight
)
abstract ArrangeOverride : 
        arrangeWidth:int * 
        arrangeHeight:int -> unit 
override ArrangeOverride : 
        arrangeWidth:int * 
        arrangeHeight:int -> unit 
protected function ArrangeOverride(
    arrangeWidth : int, 
    arrangeHeight : int
)

Parameters

  • arrangeWidth
    Type: System. . :: . .Int32
    The width of the final area within the parent in which the current element will arrange itself and its children.
  • arrangeHeight
    Type: System. . :: . .Int32
    The height of the final area within the parent in which the current element will arrange itself and its children.

Remarks

Your implementation of the ArrangeOverride method is called internally by the Arrange method as part of default layout operations.

Computation of layout positioning in Windows Presentation Foundation (WPF) consists of a Measure method call and an Arrange method call. During the Measure call, an element determines its size requirements, using the specified available sizes. During the Arrange call, the element size is finalized and returned.

.NET Framework Security

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace