Method SizeChanged
SizeChanged(EventHandler)
Registers an event handler to be invoked when the size of any item in the control set changes.
public virtual ControlSet SizeChanged(EventHandler value)
Parameters
valueEventHandlerThe event handler to associate with the SizeChanged event of each item in the control set. Cannot be null.
Returns
- ControlSet
The current instance of the ControlSet, enabling method chaining.
Remarks
This method attaches the specified event handler to the SizeChanged event of every control contained in the set. Use this to respond to dynamic layout changes or to update related UI elements when the size of any contained control changes.