Skip to main content
.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.v22.1.dll


ITestControl CreateTestControl(
    string controlType,
    string name


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.


Type Description

An ITestControl object that is the created test control.


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.


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