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.v21.2.Core.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomCellInplaceEditorType enum.
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.