Skip to main content
Box

LayoutElement Members

Base interface for layout elements.

Properties

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.

Methods

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