Y
Yahoo
I have a control that contains other controls. the child controls contain an
event called 'changed' that fires if its state has changed. Sometimes
multiple child controls can have changes (hence multiple child controls
fire), Is there a way in the parent control to only have its 'changed' event
fire once instead of X number of times? The problem that i am running into
is that the parent would need to know that all child controls have been
processed and then fires.
In a diagram...
Parent
-> child
-> child
-> child
Parent
-> TextBox(fires [from RaiseChangedEvents])
-> TextBox
-> TextBox (fires [from RaiseChangedEvents])
Parent (fires ONCE)
-> TextBox
-> TextBox
-> TextBox
event called 'changed' that fires if its state has changed. Sometimes
multiple child controls can have changes (hence multiple child controls
fire), Is there a way in the parent control to only have its 'changed' event
fire once instead of X number of times? The problem that i am running into
is that the parent would need to know that all child controls have been
processed and then fires.
In a diagram...
Parent
-> child
-> child
-> child
Parent
-> TextBox(fires [from RaiseChangedEvents])
-> TextBox
-> TextBox (fires [from RaiseChangedEvents])
Parent (fires ONCE)
-> TextBox
-> TextBox
-> TextBox