Is there a event for Selection_Changed? I want to do something when the user clicks to move the position of the caret in XamCurrencyEditor and can't find it, documentation says it has it but it doesn't seem to
Hello Travis,
Thank you for your post. I have been looking into it and I can suggest using the SelectionChanged event of the MaskedInputTextBox that the XamCurrencyInput is using. You can do that, by using the Loaded event of the XamCurrencyInput and in the event handler, you can get the MaskedInputTextBox and handle its SelectionChanged event.
I have created sample application for you, that shows how you can implement this approach.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Great! Thanks. I also would like to know if there is something similar I can do for XamCurrencyEditor though!
Thank you for your reply. I have been looking into it and in order to be able to capture when the caret position is changed in the XamCurrencyEditor, you can create a class that derives from the XamCurrencyEditor, override its OnPropertyChanged method and there you can check whether the property that is being changed is the CaretPosition. You can create a custom CaretPositionChanged event and If the property is CaretPosition, you can fire it.
wow ok thanks. I will just not show the spin buttons instead. Thanks!
Thank you for your reply. I am very glad that my approach was helpful for you. Please let me know if you need any further assistance on the matter.