.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Box

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.v21.2.Core.dll

Declaration

public T GetParentByType<T>()
    where T : class

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.

See Also