Back to Devexpress

CellEditorOpenedEventArgs.CustomEditorType Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-celleditoropenedeventargs.md

latest2.7 KB
Original Source

CellEditorOpenedEventArgs.CustomEditorType Property

Returns the type of the custom cell editor.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
public CustomCellInplaceEditorType CustomEditorType { get; }
vb
Public ReadOnly Property CustomEditorType As CustomCellInplaceEditorType

Property Value

TypeDescription
CustomCellInplaceEditorType

Specifies the custom editor type.

|

Available values:

NameDescription
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.

|

Remarks

The CellEditorOpenedEventArgs.IsCustom property allows you to determine whether the currently edited cell contains a custom in-place editor. If this property returns true , use the CustomEditorType property to determine the custom editor type.

See Also

CellEditorOpenedEventArgs Class

CellEditorOpenedEventArgs Members

DevExpress.XtraSpreadsheet Namespace