When you create a control, it receives the initial parameters. Among them are height and width . When you enable anchoring and resizing, the control also changes, but the original settings do not change. That is why when you remove the binding, it gets its original size.
source share