How to tie command to spinner change or Enter Key down events in DoubleEditBox

Editors for WPF Forum

Posted 12 years ago by Moondance
Version: 12.2.0572

I am using the DoubleEditBox and I would like to fire a command when the user clicks on the spinner or press the EnterKey down. These could be possibly two different commmands.

I tried to associate the command to the ValueChanged event after setting PartValueCommitTriggers="SpinnerChangeOrEnterKeyDown"

the but that is not good for me because the value can change in other ways, in different parts of the application, in which case I do not want to fire the command at all.


Is there a way to achieve that?

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hello, sorry but we don't have any events for the spinner buttons built in, at least on PartEditBox.  You could probably watch for regular Button.Click events to bubble up though.  And possibly the same for watching bubbled-up KeyDown events.  That would probably let you get notified of those scenarios.

Actipro Software Support

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.