dotnetmonitor.com |
|
|||||||||||||
| For user control AutoScaleMode applies to the contents
of the container that way controls within a form can be repositioned and
scaled according the Form level AutoScaleMode and the user control contents are
scaled according to the user control level AutoScaleMode. Below is the same
form with user control with three different combinations of user control
AutoScaleMode and FixedWidth/FixedHeight.
NOTE: The code used to enable fixed width fixed height user control: public UserControl1() { this.SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, false); } |
|||||||||||||
|
|||||||||||||