Skip to main content
.NET Framework 4.5.2+

LayoutElement Members

Base interface for layout elements.


Name Description
Bounds Gets coordinates of a rectangle which encompasses the layout element.
Parent Returns the element which is one step higher in the layout hierarchy.
Type Gets the type of layout element located under the test point.


Name Description
Accept(LayoutVisitor) Dispatches to the Visit method that is specific to the current LayoutType.
GetParentByType<T>() Returns the parent layout element of the type designated by the specified generic type parameter.
GetRelativeBounds(LayoutElement) Gets coordinates of the specified layout element relative to its container.
See Also