LayoutControl.GetControlByName(String) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public Control GetControlByName(
    string name
)
Public Function GetControlByName(
    name As String
) As Control

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