LayoutInformation.GetLayoutSlot(FrameworkElement) 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.
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.