wpf-devexpress-dot-xpf-dot-grid-dot-editoreventargs-315e56f6.md
Gets or sets an editor, for which an event has been raised.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public IBaseEdit Editor { get; }
Public ReadOnly Property Editor As IBaseEdit
| Type | Description |
|---|---|
| DevExpress.Xpf.Editors.IBaseEdit |
An object that implements the DevExpress.Xpf.Editors.IBaseEdit interface.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Editor 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-data-grid-use-autosuggesteditsettings/CS/MainWindow.xaml.cs#L23
void ShownEditor(object sender, EditorEventArgs e) {
ActiveEditor = e.Editor as AutoSuggestEdit;
if (ActiveEditor != null)
wpf-data-grid-filter-column-lookupedit-based-on-value-in-another-column/CS/MainWindow.xaml.cs#L52
return;
LookUpEditBase editor = e.Editor as LookUpEditBase;
if (editor == null)
wpf-data-grid-use-autosuggesteditsettings/VB/MainWindow.xaml.vb#L25
Private Sub ShownEditor(ByVal sender As Object, ByVal e As EditorEventArgs)
ActiveEditor = TryCast(e.Editor, AutoSuggestEdit)
If ActiveEditor IsNot Nothing Then AddHandler ActiveEditor.QuerySubmitted, AddressOf QuerySubmitted
wpf-data-grid-filter-column-lookupedit-based-on-value-in-another-column/VB/MainWindow.xaml.vb#L76
If Not Equals(e.Column.FieldName, "CityId") Then Return
Dim editor As LookUpEditBase = TryCast(e.Editor, LookUpEditBase)
If editor Is Nothing Then Return
See Also