I have the same problem in VS11 Beta. I used the anchors many times, and it always worked correctly, but now I canβt understand what is happening with them, and not only - filling the dock does not work either! (no auto size or dock properties are used)
PS (after 40 minutes) Now it looks like I found the problem: I have a Resize event listener for the PictureBox, and I'm creating a new image for the new image size in the onResize handler. When I delete a new image creation, everything works!
Now I use the SizeChanged event and in this event handler I create a new image. Therefore, I think that I should not change the sender object until the resizing is complete.
source share