I’m not subclassing the control. Trying to trigger the event via Control.Size = Control.Size fails, since it does not trigger then even unless the new size is actually different.
I’m not subclassing the control. Trying to trigger the event via Control.Size = Control.Size
Share
If you are subclassing
Control, you can callOnResizedirectly, or expose it on the API:However, you can’t do this for arbitrary controls. You could change the
Sizeto-and-fro? Alternatively, you could use reflection, but that is hacky: