Skip to main content

LayoutControl.GetControlByName(String) Method

Returns the control with the specified name, contained within the Layout Control.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public Control GetControlByName(
    string name
)

Parameters

Name Type Description
name String

A String value that specifies the control’s name.

Returns

Type Description
Control

A Control descendant that represents the control with the specified name, contained within the Layout Control. null (Nothing in Visual Basic) if the control isn’t found.

See Also