Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

80 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="DrawMode" FullName="System.Windows.Forms.DrawMode">
<TypeSignature Language="C#" Value="public enum DrawMode" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration is used by members such as <see cref="P:System.Windows.Forms.ListBox.DrawMode" /> in the <see cref="T:System.Windows.Forms.ListBox" />, <see cref="T:System.Windows.Forms.CheckedListBox" />, and <see cref="T:System.Windows.Forms.ComboBox" /> classes.</para>
<para>You can override the drawing of some controls or certain elements. This enumeration is used to specify if a control is drawn by the operating system or if your own code handles the drawing of the control.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Windows.Forms.CheckedListBox" /> class only supports <see cref="F:System.Windows.Forms.DrawMode.Normal" />; owner draw modes are ignored.</para>
</block>
<para>For more information about using the <see cref="T:System.Windows.Forms.DrawMode" /> enumeration, see the MeasureItem and DrawItem events, and the ItemHeight property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies how the elements of a control are drawn.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Normal">
<MemberSignature Language="C#" Value="Normal" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DrawMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>All the elements in a control are drawn by the operating system and are of the same size.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="OwnerDrawFixed">
<MemberSignature Language="C#" Value="OwnerDrawFixed" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DrawMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>All the elements in the control are drawn manually and are of the same size.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="OwnerDrawVariable">
<MemberSignature Language="C#" Value="OwnerDrawVariable" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DrawMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>All the elements in the control are drawn manually and can differ in size.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>