diff --git a/MultiSelectTreeView/Controls/MultiSelectTreeViewItem.cs b/MultiSelectTreeView/Controls/MultiSelectTreeViewItem.cs index 80aab5e..7a024b2 100644 --- a/MultiSelectTreeView/Controls/MultiSelectTreeViewItem.cs +++ b/MultiSelectTreeView/Controls/MultiSelectTreeViewItem.cs @@ -592,8 +592,8 @@ protected override void OnKeyDown(KeyEventArgs e) if (ParentTreeView.AllowEditItems && ContentTemplateEdit != null && IsFocused && IsEditable) { IsEditing = true; + e.Handled = true; } - e.Handled = true; break; case Key.Escape: StopEditing();