Resize and SizeChanged events

  • Thread starter Thread starter Dom
  • Start date Start date
D

Dom

What is the difference between these two events? Help says one occurs
when the Size property changes, and the other occurs when the control
is resized. Isn't that the same thing?
 
What is the difference between these two events? Help says one occurs
when the Size property changes, and the other occurs when the control
is resized. Isn't that the same thing?

None. I had the same issue once and dug up the following from a Microsoft
Online Partner Support rep who got it from the product team itself
apparently:

"From a user's point of view, they're the same thing. OnResize
will be called whenever OnSizeChanged is called. The reason we
have both is that OnSizeChanged is used for databinding and we
had OnResize first. The user can override either one and see the
same behavior"
 
None. I had the same issue once and dug up the following from a Microsoft
Online Partner Support rep who got it from the product team itself
apparently:

"From a user's point of view, they're the same thing. OnResize
will be called whenever OnSizeChanged is called. The reason we
have both is that OnSizeChanged is used for databinding and we
had OnResize first. The user can override either one and see the
same behavior"

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top