Skip to main content

RepositoryItem.CreateEditor() Method

Creates an editor whose type corresponds to the repository item’s type.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public virtual BaseEdit CreateEditor()

Returns

Type Description
BaseEdit

A BaseEdit descendant representing the editor whose type corresponds to this repository item’s type.

Remarks

Container controls use this method to create editors when end-users start to edit cell values. The method only creates an appropriate editor type and container controls synchronize its settings with the repository item’s values.

You will have no need to use this method in your applications.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateEditor() 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