Generic Control property changed event?
.NET (Core and Framework)
2
Posts
2
Posters
0
Views
1
Watching
-
-
Is there a way to be notified, through an event or callback, when any control property changes? For example, I would like to have my code notified if any public property changes on my Form's System.Windows.Form.Text control. Thanks, Aaron Stibich
There's no single event that does this. You'd have to create your own version of the control, and add override every On...Changed method in the control, calling code that raises your own event.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008