Skip to main content
A newer version of this page is available. .

RepositoryItemCheckEdit() Constructor

Initializes a new RepositoryItemCheckEdit class instance with default settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public RepositoryItemCheckEdit()

Remarks

This constructor creates a new RepositoryItemCheckEdit class instance and sets its properties to their default values.

When a CheckEdit control is created, the constructor is automatically invoked to create and initiate a RepositoryItemCheckEdit object exposed via the control’s CheckEdit.Properties property. Generally, you do not need to call the RepositoryItemCheckEdit constructor manually unless you have to create check edit controls for in-place editing (for use in the Grid Control or other DevExpress container controls).

The following code uses the constructor to assign a check edit control as an editor for the Contract column in the Grid Control control:


RepositoryItemCheckEdit riCheckEdit = new RepositoryItemCheckEdit();
gridControl1.RepositoryItems.Add(riCheckEdit);
gridView1.Columns["Contract"].ColumnEdit = riCheckEdit;

The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItemCheckEdit() constructor.

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