Control.SetAutoSizeMode(AutoSizeMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a value indicating how a control will behave when its AutoSize property is enabled.
protected:
void SetAutoSizeMode(System::Windows::Forms::AutoSizeMode mode);
protected void SetAutoSizeMode (System.Windows.Forms.AutoSizeMode mode);
member this.SetAutoSizeMode : System.Windows.Forms.AutoSizeMode -> unit
Protected Sub SetAutoSizeMode (mode As AutoSizeMode)
Parameters
- mode
- AutoSizeMode
One of the AutoSizeMode values.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.