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

CustomCellInplaceEditorType Enum

Lists types of the custom in-place editors that can be assigned to cells in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

public enum CustomCellInplaceEditorType

Members

Name Description
CheckBox

Specifies that a WinForms CheckEdit (or WPF CheckEdit) editor is used for in-place editing of cell content.

ComboBox

Specifies that a WinForms ComboBoxEdit (or WPF ComboBoxEdit) editor is used for in-place editing of cell content.

DateEdit

Specifies that a WinForms DateEdit (or WPF DateEdit) editor is used for in-place editing of cell content.

Custom

Specifies that a custom editor is used for in-place editing of cell content.

To supply the required in-place editor, handle the SpreadsheetControl.CustomCellEdit event.

Remarks

To assign a custom in-place editor of a particular type to a cell or cell range in a worksheet, use the CustomCellInplaceEditorCollection.Add method and pass the appropriate CustomCellInplaceEditorType enumeration value as a parameter. Information about cell in-place editors of the listed types is saved to a file in XLS, XLSX, XLSB, XLT, or XLTX format, so the corresponding editors can be successfully restored when you load a document into the Spreadsheet control again. If you use an in-place editor of the CustomCellInplaceEditorType.Custom type, you must handle the SpreadsheetControl.CustomCellEdit event to define a specific editor to be assigned to the required cells.

For an example on how to use custom editors for in-place editing of cell content, refer to the How to: Assign Custom In-place Editors to Worksheet Cells article.

See Also