﻿<?xml version="1.0" encoding="utf-8"?><Type Name="AutoSizeMode" FullName="System.Windows.Forms.AutoSizeMode"><TypeSignature Language="C#" Value="public enum AutoSizeMode" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Enum</BaseTypeName></Base><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Setting the <see cref="F:System.Windows.Forms.AutoSizeMode.GrowAndShrink" /> value produces the same behavior that you get for controls with the <see cref="P:System.Windows.Forms.Control.AutoSize" /> property enabled but which have no </para><para>AutoSizeMode property. The <see cref="P:System.Windows.Forms.Control.MinimumSize" /> and <see cref="P:System.Windows.Forms.Control.MaximumSize" /> properties are respected, but the current value of the <see cref="P:System.Windows.Forms.Control.Size" /> property is ignored. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies how a control will behave when its <see cref="P:System.Windows.Forms.Control.AutoSize" /> property is enabled.</para></summary></Docs><Members><Member MemberName="GrowAndShrink"><MemberSignature Language="C#" Value="GrowAndShrink" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.Windows.Forms.AutoSizeMode</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>The control grows or shrinks to fit its contents. The control cannot be resized manually.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GrowOnly"><MemberSignature Language="C#" Value="GrowOnly" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.Windows.Forms.AutoSizeMode</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its <see cref="P:System.Windows.Forms.Control.Size" />   property. The form can be resized, but cannot be made so small that any of its contained controls are hidden.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>