[jit] Enable partial generic sharing when not using AOT as an experiment.
[mono.git] / mcs / class / Managed.Windows.Forms / Documentation / en / System.Windows.Forms / AutoSizeMode.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="AutoSizeMode" FullName="System.Windows.Forms.AutoSizeMode">
3   <TypeSignature Language="C#" Value="public enum AutoSizeMode" />
4   <AssemblyInfo>
5     <AssemblyName>System.Windows.Forms</AssemblyName>
6     <AssemblyVersion>2.0.0.0</AssemblyVersion>
7   </AssemblyInfo>
8   <Base>
9     <BaseTypeName>System.Enum</BaseTypeName>
10   </Base>
11   <Docs>
12     <since version=".NET 2.0" />
13     <remarks>
14       <attribution license="cc4" from="Microsoft" modified="false" />
15       <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>
16       <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>
17     </remarks>
18     <summary>
19       <attribution license="cc4" from="Microsoft" modified="false" />
20       <para>Specifies how a control will behave when its <see cref="P:System.Windows.Forms.Control.AutoSize" /> property is enabled.</para>
21     </summary>
22   </Docs>
23   <Members>
24     <Member MemberName="GrowAndShrink">
25       <MemberSignature Language="C#" Value="GrowAndShrink" />
26       <MemberType>Field</MemberType>
27       <ReturnValue>
28         <ReturnType>System.Windows.Forms.AutoSizeMode</ReturnType>
29       </ReturnValue>
30       <Docs>
31         <since version=".NET 2.0" />
32         <summary>
33           <attribution license="cc4" from="Microsoft" modified="false" />
34           <para>The control grows or shrinks to fit its contents. The control cannot be resized manually.</para>
35         </summary>
36       </Docs>
37       <AssemblyInfo>
38         <AssemblyVersion>2.0.0.0</AssemblyVersion>
39       </AssemblyInfo>
40     </Member>
41     <Member MemberName="GrowOnly">
42       <MemberSignature Language="C#" Value="GrowOnly" />
43       <MemberType>Field</MemberType>
44       <ReturnValue>
45         <ReturnType>System.Windows.Forms.AutoSizeMode</ReturnType>
46       </ReturnValue>
47       <Docs>
48         <since version=".NET 2.0" />
49         <summary>
50           <attribution license="cc4" from="Microsoft" modified="false" />
51           <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>
52         </summary>
53       </Docs>
54       <AssemblyInfo>
55         <AssemblyVersion>2.0.0.0</AssemblyVersion>
56       </AssemblyInfo>
57     </Member>
58   </Members>
59 </Type>