Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.

Avoid consuming F2 when name editing is disabled#50

Merged
ygoe merged 2 commits into
ygoe:masterfrom
PaavoTramm:master
Mar 18, 2020
Merged

Avoid consuming F2 when name editing is disabled#50
ygoe merged 2 commits into
ygoe:masterfrom
PaavoTramm:master

Conversation

@PaavoTramm

Copy link
Copy Markdown
Contributor

In the MultiSelectTreeViewItem.OnKeyDown, do not set e.Handled while processing F2 unless the editing is possible. This allows users to add their own key binding for F2 in inputbindings on the control. Currently one can have AllowEditItems = false but the item still "eats" the key down.

I hope this makes sense.

@ygoe ygoe merged commit 8dadce5 into ygoe:master Mar 18, 2020
@ygoe

ygoe commented Mar 18, 2020

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants