LayoutElementBase.GetParentByType<T>() Method
Returns the parent layout element of the type designated by the specified generic type parameter.
Namespace: DevExpress.XtraRichEdit.API.Layout
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Type Parameters
Name | Description |
---|---|
T | The element type. |
Returns
Type | Description |
---|---|
T | The layout element of the type designated by the specified generic type parameter. |
Remarks
Gets the element of the specified type which is higher in the layout hierarchy.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetParentByType<T>() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.