Back to Devexpress

CellEditorOpenedEventArgs.IsCustom Property

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-celleditoropenedeventargs-6e1a86df.md

latest2.8 KB
Original Source

CellEditorOpenedEventArgs.IsCustom Property

Indicates whether the active cell editor is custom.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public bool IsCustom { get; }
vb
Public ReadOnly Property IsCustom As Boolean

Property Value

TypeDescription
Boolean

true if the active editor is custom; otherwise, false.

|

Remarks

If the IsCustom property returns true , use the CellEditorOpenedEventArgs.CustomEditorType property to determine the custom editor type.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsCustom property.

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.

wpf-spreadsheet-spell-check-cell-text/CS/SpreadsheetSpellChecker.cs#L31

csharp
void OnSpreadsheet_CellEditorOpened(object sender, CellEditorOpenedEventArgs e) {
    if (!e.IsCustom)
    {

wpf-spreadsheet-spell-check-cell-text/VB/SpreadsheetSpellChecker.vb#L41

vb
Private Sub OnSpreadsheet_CellEditorOpened(ByVal sender As Object, ByVal e As CellEditorOpenedEventArgs)
    If Not e.IsCustom Then
        e.Editor.SetValue(ThemeManager.ThemeNameProperty, ApplicationThemeHelper.ApplicationThemeName)

See Also

CellEditorOpenedEventArgs Class

CellEditorOpenedEventArgs Members

DevExpress.Xpf.Spreadsheet Namespace