<Type Name="FlowDirection" FullName="Microsoft.Maui.FlowDirection">
  <TypeSignature Language="C#" Value="public enum FlowDirection" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed FlowDirection extends System.Enum" />
  <TypeSignature Language="DocId" Value="T:Microsoft.Maui.FlowDirection" />
  <TypeSignature Language="F#" Value="type FlowDirection = " />
  <AssemblyInfo>
    <AssemblyName>Microsoft.Maui.Core</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Attributes>
    <Attribute>
      <AttributeName>Microsoft.Maui.TypeConverter(typeof(Microsoft.Maui.FlowDirectionConverter))</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>Enumerates values that control the layout direction for views.</summary>
    <remarks>
      <para>The following contains a few important points from <format type="text/html"><a href="https://docs.microsoft.com/xamarin/xamarin-forms/app-fundamentals/localization/right-to-left">Right-to-Left Localization</a></format>. Developers should consult that document for more information about limitations of right-to-left support, and for requirements to implement right-to-left support on various target platforms.</para>
      <para>The default value of <see cref="T:Microsoft.Maui.FlowDirection" /> for a visual element that has no parent is <see cref="F:Microsoft.Maui.FlowDirection.LeftToRight" />, even on platforms where <see cref="P:Microsoft.Maui.Device.FlowDirection" /> is <see cref="F:Microsoft.Maui.FlowDirection.RightToLeft" />. Therefore, developers must deliberately opt in to right-to-left layout. Developers can choose right-to-left layout by setting the <see cref="P:Microsoft.Maui.VisualElement.FlowDirection" /> property of the root element to <see cref="F:Microsoft.Maui.FlowDirection.RightToLeft" /> to chosse right-to-left layout, or to <see cref="F:Microsoft.Maui.FlowDirection.MatchParent" /> to match the device layout.</para>
      <para>All <see cref="T:Microsoft.Maui.VisualElement" />s that have a parent default to <see cref="F:Microsoft.Maui.FlowDirection.MatchParent" />.</para>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName="LeftToRight">
      <MemberSignature Language="C#" Value="LeftToRight" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Maui.FlowDirection LeftToRight = int32(1)" />
      <MemberSignature Language="DocId" Value="F:Microsoft.Maui.FlowDirection.LeftToRight" />
      <MemberSignature Language="F#" Value="LeftToRight = 1" Usage="Microsoft.Maui.FlowDirection.LeftToRight" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Core</AssemblyName>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Maui.FlowDirection</ReturnType>
      </ReturnValue>
      <MemberValue>1</MemberValue>
      <Docs>
        <summary>Indicates that view will be laid out left to right. This is the default when the view has no parent.</summary>
      </Docs>
    </Member>
    <Member MemberName="MatchParent">
      <MemberSignature Language="C#" Value="MatchParent" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Maui.FlowDirection MatchParent = int32(0)" />
      <MemberSignature Language="DocId" Value="F:Microsoft.Maui.FlowDirection.MatchParent" />
      <MemberSignature Language="F#" Value="MatchParent = 0" Usage="Microsoft.Maui.FlowDirection.MatchParent" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Core</AssemblyName>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Maui.FlowDirection</ReturnType>
      </ReturnValue>
      <MemberValue>0</MemberValue>
      <Docs>
        <summary>Indicates that the view's layout direction will match the parent view's layout direction.</summary>
      </Docs>
    </Member>
    <Member MemberName="RightToLeft">
      <MemberSignature Language="C#" Value="RightToLeft" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Maui.FlowDirection RightToLeft = int32(2)" />
      <MemberSignature Language="DocId" Value="F:Microsoft.Maui.FlowDirection.RightToLeft" />
      <MemberSignature Language="F#" Value="RightToLeft = 2" Usage="Microsoft.Maui.FlowDirection.RightToLeft" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Core</AssemblyName>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Maui.FlowDirection</ReturnType>
      </ReturnValue>
      <MemberValue>2</MemberValue>
      <Docs>
        <summary>Indicates that view will be laid out right to left.</summary>
      </Docs>
    </Member>
  </Members>
</Type>
