Skip to main content
Box

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutElement Members

In This Article
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