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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public enum CustomCellInplaceEditorType

Members

Name Description
CheckBox

Specifies that a WinForms CheckEdit (or WPF CheckEdit) editor is used to edit cell content.

ComboBox

Specifies that a WinForms ComboBoxEdit (or WPF ComboBoxEdit) editor is used to edit cell content.

DateEdit

Specifies that a WinForms DateEdit (or WPF DateEdit) editor is used to edit cell content.

Custom

Specifies that a custom editor is used to edit cell content.

Handle the WinForms Spreadsheet control’s CustomCellEdit (or WPF Spreadsheet control’s CustomCellEdit) event to assign a custom editor to a cell.

Related API Members

The following properties accept/return CustomCellInplaceEditorType values:

Library Related API Members
WinForms Controls CellEditorOpenedEventArgs.CustomEditorType
WPF Controls CellEditorOpenedEventArgs.CustomEditorType
Office File API CustomCellInplaceEditor.EditorType

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