Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ICommandAdapter.CreateTestControl(String, String) Method

Finds the specific control and creates the test control for it.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v20.2.dll

NuGet Package: DevExpress.EasyTest

Declaration

ITestControl CreateTestControl(
    string controlType,
    string name
)

Parameters

Name Type Description
controlType String

A string that specifies the test control types. Valid types can be obtained from the TestControlType class’ constants.

name String

A sting that is the control caption.

Returns

Type Description
ITestControl

An ITestControl object that is the created test control.

Remarks

To see this method in use, refer to the How to: Implement a Custom EasyTest Command topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateTestControl(String, String) 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.

See Also