I want to raise an event whenever the SelectedText or SelectionStart properties of a TextBox control are changed. Is there any simple way to do so that doesn't involve writing a custom TextBox control from scratch?
Obviously, one option would be having a timer check those properties for changes, but I would prefer not using any timers.
So far I have tried creating a control that inherits from TextBox and overrides the SelectedText property, but that failed. Plus, SelectionStart can't be overridden.
Yes, I am aware that the RichTextBox control has the SelectionChanged event. I need a normal TextBox, however, not a RichTextBox.