-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
FlowDirection.xml
155 lines (147 loc) · 8.72 KB
/
FlowDirection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<Type Name="FlowDirection" FullName="System.Windows.Forms.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:System.Windows.Forms.FlowDirection" />
<TypeSignature Language="VB.NET" Value="Public Enum FlowDirection" />
<TypeSignature Language="F#" Value="type FlowDirection = " />
<TypeSignature Language="C++ CLI" Value="public enum class FlowDirection" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Defines constants that specify the direction in which consecutive user interface (UI) elements are placed in a linear layout container.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.FlowDirection> enumeration describes the flow direction of consecutive UI elements, typically controls, on a design surface or container such as a form. This enumeration is used by linear layout containers such as <xref:System.Windows.Forms.FlowLayoutPanel>, which stores this information internally in the <xref:System.Windows.Forms.FlowLayoutPanel.FlowDirection%2A?displayProperty=nameWithType> property.
The <xref:System.Windows.Forms.FlowDirection> determines where a new control is placed by default when it is added to a supporting container. The flow direction of the container, along with the <xref:System.Windows.Forms.Control.Anchor%2A> and <xref:System.Windows.Forms.Control.Dock%2A> properties of each contained control, determine the rearrangement of controls when their container is resized.
The <xref:System.Windows.Forms.FlowLayoutPanel> control provides a `FlowBreak` property to its child controls. Setting the value of the `FlowBreak` property to `true` causes the <xref:System.Windows.Forms.FlowLayoutPanel> control to stop laying out controls in the current flow direction and wrap to the next row or column.
## Examples
The following example shows how to set the <xref:System.Windows.Forms.FlowLayoutPanel.FlowDirection%2A> property on a <xref:System.Windows.Forms.FlowLayoutPanel> control. This code example is part of a larger example provided for the <xref:System.Windows.Forms.FlowLayoutPanel> control.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet4":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet4":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet4":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.FlowLayoutPanel" />
<altmember cref="P:System.Windows.Forms.FlowLayoutPanel.FlowDirection" />
<altmember cref="P:System.Windows.Forms.Control.Anchor" />
<altmember cref="P:System.Windows.Forms.Control.Dock" />
</Docs>
<Members>
<Member MemberName="BottomUp">
<MemberSignature Language="C#" Value="BottomUp" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Forms.FlowDirection BottomUp = int32(3)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Forms.FlowDirection.BottomUp" />
<MemberSignature Language="VB.NET" Value="BottomUp" />
<MemberSignature Language="F#" Value="BottomUp = 3" Usage="System.Windows.Forms.FlowDirection.BottomUp" />
<MemberSignature Language="C++ CLI" Value="BottomUp" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.FlowDirection</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Elements flow from the bottom of the design surface to the top.</summary>
</Docs>
</Member>
<Member MemberName="LeftToRight">
<MemberSignature Language="C#" Value="LeftToRight" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Forms.FlowDirection LeftToRight = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Forms.FlowDirection.LeftToRight" />
<MemberSignature Language="VB.NET" Value="LeftToRight" />
<MemberSignature Language="F#" Value="LeftToRight = 0" Usage="System.Windows.Forms.FlowDirection.LeftToRight" />
<MemberSignature Language="C++ CLI" Value="LeftToRight" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.FlowDirection</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Elements flow from the left edge of the design surface to the right.</summary>
</Docs>
</Member>
<Member MemberName="RightToLeft">
<MemberSignature Language="C#" Value="RightToLeft" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Forms.FlowDirection RightToLeft = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Forms.FlowDirection.RightToLeft" />
<MemberSignature Language="VB.NET" Value="RightToLeft" />
<MemberSignature Language="F#" Value="RightToLeft = 2" Usage="System.Windows.Forms.FlowDirection.RightToLeft" />
<MemberSignature Language="C++ CLI" Value="RightToLeft" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.FlowDirection</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Elements flow from the right edge of the design surface to the left.</summary>
</Docs>
</Member>
<Member MemberName="TopDown">
<MemberSignature Language="C#" Value="TopDown" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Forms.FlowDirection TopDown = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Forms.FlowDirection.TopDown" />
<MemberSignature Language="VB.NET" Value="TopDown" />
<MemberSignature Language="F#" Value="TopDown = 1" Usage="System.Windows.Forms.FlowDirection.TopDown" />
<MemberSignature Language="C++ CLI" Value="TopDown" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.FlowDirection</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Elements flow from the top of the design surface to the bottom.</summary>
</Docs>
</Member>
</Members>
</Type>