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

79 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="RightToLeft" FullName="System.Windows.Forms.RightToLeft">
<TypeSignature Language="C#" Value="public enum RightToLeft" />
<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 <see cref="T:System.Windows.Forms.ContextMenu" />, <see cref="T:System.Windows.Forms.MainMenu" />, <see cref="T:System.Windows.Forms.ProgressBar" />, <see cref="T:System.Text.RegularExpressions.Regex" /> and <see cref="T:System.Windows.Forms.Control" />.</para>
<para>When you retrieve the value of the RightToLeft property from <see cref="T:System.Windows.Forms.ContextMenu" />, <see cref="T:System.Windows.Forms.MainMenu" />, and <see cref="T:System.Windows.Forms.ProgressBar" /> you will get the value of <see cref="T:System.Windows.Forms.RightToLeft" /> you assigned. In contrast, if you are deriving your own class from <see cref="T:System.Windows.Forms.Control" />, and you assign a value of Inherit to the <see cref="P:System.Windows.Forms.Control.RightToLeft" /> property, the value returned will be the setting of the <see cref="P:System.Windows.Forms.Control.RightToLeft" /> property of the parent control. If there is no parent control, it will return a value of No. Otherwise, it will return a value of Yes or No, depending on the value that you assigned to the <see cref="P:System.Windows.Forms.Control.RightToLeft" /> property of your derived class.</para>
<block subset="none" type="note">
<para>For more information about how enabling right-to-left alignment affects Windows Forms controls, see the <see cref="P:System.Windows.Forms.Control.RightToLeft" /> property.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Inherit">
<MemberSignature Language="C#" Value="Inherit" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.RightToLeft</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The direction the text read is inherited from the parent control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="No">
<MemberSignature Language="C#" Value="No" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.RightToLeft</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The text reads from left to right. This is the default.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Yes">
<MemberSignature Language="C#" Value="Yes" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.RightToLeft</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The text reads from right to left.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>