Merge pull request #944 from ermshiperete/bug-novell-496138
[mono.git] / mcs / class / Managed.Windows.Forms / Documentation / en / System.Windows.Forms / PictureBoxSizeMode.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="PictureBoxSizeMode" FullName="System.Windows.Forms.PictureBoxSizeMode">
3   <TypeSignature Language="C#" Value="public enum PictureBoxSizeMode" />
4   <AssemblyInfo>
5     <AssemblyName>System.Windows.Forms</AssemblyName>
6     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
7     <AssemblyVersion>2.0.0.0</AssemblyVersion>
8   </AssemblyInfo>
9   <Base>
10     <BaseTypeName>System.Enum</BaseTypeName>
11   </Base>
12   <Docs>
13     <remarks>
14       <attribution license="cc4" from="Microsoft" modified="false" />
15       <para>Use the members of this enumeration to set the value of the <see cref="P:System.Windows.Forms.PictureBox.SizeMode" /> property of the <see cref="T:System.Windows.Forms.PictureBox" />.</para>
16     </remarks>
17     <summary>
18       <attribution license="cc4" from="Microsoft" modified="false" />
19       <para>Specifies how an image is positioned within a <see cref="T:System.Windows.Forms.PictureBox" />.</para>
20     </summary>
21   </Docs>
22   <Members>
23     <Member MemberName="AutoSize">
24       <MemberSignature Language="C#" Value="AutoSize" />
25       <MemberType>Field</MemberType>
26       <ReturnValue>
27         <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
28       </ReturnValue>
29       <Docs>
30         <summary>
31           <attribution license="cc4" from="Microsoft" modified="false" />
32           <para>The <see cref="T:System.Windows.Forms.PictureBox" /> is sized equal to the size of the image that it contains.</para>
33         </summary>
34       </Docs>
35       <AssemblyInfo>
36         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
37         <AssemblyVersion>2.0.0.0</AssemblyVersion>
38       </AssemblyInfo>
39     </Member>
40     <Member MemberName="CenterImage">
41       <MemberSignature Language="C#" Value="CenterImage" />
42       <MemberType>Field</MemberType>
43       <ReturnValue>
44         <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
45       </ReturnValue>
46       <Docs>
47         <summary>
48           <attribution license="cc4" from="Microsoft" modified="false" />
49           <para>The image is displayed in the center if the <see cref="T:System.Windows.Forms.PictureBox" /> is larger than the image. If the image is larger than the <see cref="T:System.Windows.Forms.PictureBox" />, the picture is placed in the center of the <see cref="T:System.Windows.Forms.PictureBox" /> and the outside edges are clipped.</para>
50         </summary>
51       </Docs>
52       <AssemblyInfo>
53         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
54         <AssemblyVersion>2.0.0.0</AssemblyVersion>
55       </AssemblyInfo>
56     </Member>
57     <Member MemberName="Normal">
58       <MemberSignature Language="C#" Value="Normal" />
59       <MemberType>Field</MemberType>
60       <ReturnValue>
61         <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
62       </ReturnValue>
63       <Docs>
64         <summary>
65           <attribution license="cc4" from="Microsoft" modified="false" />
66           <para>The image is placed in the upper-left corner of the <see cref="T:System.Windows.Forms.PictureBox" />. The image is clipped if it is larger than the <see cref="T:System.Windows.Forms.PictureBox" /> it is contained in.</para>
67         </summary>
68       </Docs>
69       <AssemblyInfo>
70         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
71         <AssemblyVersion>2.0.0.0</AssemblyVersion>
72       </AssemblyInfo>
73     </Member>
74     <Member MemberName="StretchImage">
75       <MemberSignature Language="C#" Value="StretchImage" />
76       <MemberType>Field</MemberType>
77       <ReturnValue>
78         <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
79       </ReturnValue>
80       <Docs>
81         <summary>
82           <attribution license="cc4" from="Microsoft" modified="false" />
83           <para>The image within the <see cref="T:System.Windows.Forms.PictureBox" /> is stretched or shrunk to fit the size of the <see cref="T:System.Windows.Forms.PictureBox" />.</para>
84         </summary>
85       </Docs>
86       <AssemblyInfo>
87         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
88         <AssemblyVersion>2.0.0.0</AssemblyVersion>
89       </AssemblyInfo>
90     </Member>
91     <Member MemberName="Zoom">
92       <MemberSignature Language="C#" Value="Zoom" />
93       <MemberType>Field</MemberType>
94       <ReturnValue>
95         <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
96       </ReturnValue>
97       <Docs>
98         <since version=".NET 2.0" />
99         <summary>
100           <attribution license="cc4" from="Microsoft" modified="false" />
101           <para>The size of the image is increased or decreased maintaining the size ratio.</para>
102         </summary>
103       </Docs>
104       <AssemblyInfo>
105         <AssemblyVersion>2.0.0.0</AssemblyVersion>
106       </AssemblyInfo>
107     </Member>
108   </Members>
109 </Type>