Share via


LayoutInformation.GetLayoutSlot(FrameworkElement) Method

Definition

Returns the layout slot, or bounding box, that contains the specified element.

public:
 static Rect GetLayoutSlot(FrameworkElement ^ element);
 static Rect GetLayoutSlot(FrameworkElement const& element);
public static Rect GetLayoutSlot(FrameworkElement element);
function getLayoutSlot(element)
Public Shared Function GetLayoutSlot (element As FrameworkElement) As Rect

Parameters

element
FrameworkElement

The element for which to return the layout slot.

Returns

The area assigned to the element for layout.

Applies to