110 references to FlowDirection
Accessibility_Core_App (1)
ContainerControls.Designer.cs (1)
127
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
PresentationUI (23)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
79
this._buttonFlowLayoutPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
61
_buttomControlLayoutpanel.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (3)
77
_flowLayoutPanel2.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
101
_flowLayoutPanel4.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
180
_flowLayoutPanel1.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
66
this._flowLayoutPanel1.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
98
this._flowLayoutPanel2.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
MS\Internal\Documents\RMPermissions.Designer.cs (5)
67
this.mainContentFlowPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
78
this.authenticatedAsFlowPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
97
this.permissionsFlowPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
110
this.contactFlowPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
149
this.actionsFlowPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (8)
84
this.flowLayoutPanelMain.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
132
this.flowLayoutPanelUnrestricted.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
144
this.flowLayoutPanelPermissions.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
154
this.flowLayoutPanelTemplate.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
192
this.flowLayoutPanelPeople.FlowDirection = System.Windows.Forms.
FlowDirection
.LeftToRight;
251
this.flowLayoutPanelContact.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
276
this.flowLayoutPanelExpires.FlowDirection = System.Windows.Forms.
FlowDirection
.LeftToRight;
304
this.flowLayoutPanelActions.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
77
_flowpanelMiddleControls.FlowDirection = System.Windows.Forms.
FlowDirection
.LeftToRight;
90
_flowpanelBottomControls.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
185
_buttonflowLayoutPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.RightToLeft;
System.Windows.Forms (34)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
931
flowLayoutSettings.FlowDirection =
FlowDirection
.TopDown;
1310
closeOnHorizontalKey = FlowLayout.GetFlowDirection(this) ==
FlowDirection
.TopDown && !FlowLayout.GetWrapContents(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
536
FlowDirection =
FlowDirection
.TopDown
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (4)
103
if (FlowLayout.GetFlowDirection(this) !=
FlowDirection
.TopDown)
105
FlowLayout.SetFlowDirection(this,
FlowDirection
.TopDown);
115
if (FlowLayout.GetFlowDirection(this) !=
FlowDirection
.LeftToRight)
117
FlowLayout.SetFlowDirection(this,
FlowDirection
.LeftToRight);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
406
FlowLayout.SetFlowDirection(this,
FlowDirection
.TopDown);
410
FlowLayout.SetFlowDirection(this,
FlowDirection
.LeftToRight);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
18
FlowLayoutSettings.FlowDirection =
FlowDirection
.LeftToRight;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
19
FlowLayoutSettings.FlowDirection =
FlowDirection
.TopDown;
System\Windows\Forms\Layout\FlowLayout.cs (19)
40
private static ContainerProxy CreateContainerProxy(IArrangedElement container,
FlowDirection
flowDirection) =>
43
FlowDirection
.RightToLeft => new RightToLeftProxy(container),
44
FlowDirection
.TopDown => new TopDownProxy(container),
45
FlowDirection
.BottomUp => new BottomUpProxy(container),
55
FlowDirection
flowDirection = GetFlowDirection(container);
104
return LayoutUtils.FlipSizeIf(flowDirection ==
FlowDirection
.TopDown || GetFlowDirection(container) ==
FlowDirection
.BottomUp, layoutSize);
291
public static
FlowDirection
GetFlowDirection(IArrangedElement container) =>
292
container.Properties.GetValueOrDefault<
FlowDirection
>(s_flowDirectionProperty);
294
public static void SetFlowDirection(IArrangedElement container,
FlowDirection
value)
304
private static void Debug_VerifyAlignment(IArrangedElement container,
FlowDirection
flowDirection)
319
case
FlowDirection
.LeftToRight:
320
case
FlowDirection
.TopDown:
324
case
FlowDirection
.RightToLeft:
328
case
FlowDirection
.BottomUp:
340
case
FlowDirection
.LeftToRight:
341
case
FlowDirection
.TopDown:
345
case
FlowDirection
.RightToLeft:
349
case
FlowDirection
.BottomUp:
System\Windows\Forms\Panels\FlowLayoutPanel.cs (2)
26
[DefaultValue(
FlowDirection
.LeftToRight)]
29
public
FlowDirection
FlowDirection
System\Windows\Forms\Panels\FlowLayoutSettings.cs (2)
20
[DefaultValue(
FlowDirection
.LeftToRight)]
22
public
FlowDirection
FlowDirection
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (24)
120
FlowLayoutPanel.FlowDirection is
FlowDirection
.RightToLeft or
FlowDirection
.LeftToRight;
127
private
FlowDirection
RTLTranslateFlowDirection(
FlowDirection
direction)
133
FlowDirection
.LeftToRight =>
FlowDirection
.RightToLeft,
134
FlowDirection
.RightToLeft =>
FlowDirection
.LeftToRight,
135
FlowDirection
.TopDown or
FlowDirection
.BottomUp => direction,
180
FlowDirection
flowDirection = RTLTranslateFlowDirection(FlowLayoutPanel.FlowDirection);
187
if ((horizontalFlow && flowDirection ==
FlowDirection
.RightToLeft) ||
188
(!horizontalFlow && flowDirection ==
FlowDirection
.BottomUp))
240
if (flowDirection ==
FlowDirection
.LeftToRight ? marginBounds.X < lastOffset : marginBounds.X > lastOffset)
271
if (flowDirection ==
FlowDirection
.TopDown ? marginBounds.Y < lastOffset : marginBounds.Y > lastOffset)
376
private
FlowDirection
FlowDirection
395
case
FlowDirection
.LeftToRight:
398
case
FlowDirection
.RightToLeft:
401
case
FlowDirection
.TopDown:
404
case
FlowDirection
.BottomUp:
414
case
FlowDirection
.LeftToRight:
417
case
FlowDirection
.RightToLeft:
420
case
FlowDirection
.TopDown:
423
case
FlowDirection
.BottomUp:
System.Windows.Forms.Tests (23)
System\Windows\Forms\ControlTests.cs (3)
872
FlowDirection =
FlowDirection
.TopDown
883
FlowDirection =
FlowDirection
.TopDown
894
FlowDirection =
FlowDirection
.TopDown
System\Windows\Forms\FlowLayoutPanelTests.cs (8)
71
Assert.Equal(
FlowDirection
.LeftToRight, control.FlowDirection);
142
[InlineData(
FlowDirection
.BottomUp, 1)]
143
[InlineData(
FlowDirection
.LeftToRight, 1)]
144
[InlineData(
FlowDirection
.RightToLeft, 1)]
145
[InlineData(
FlowDirection
.TopDown, 1)]
146
public void FlowLayoutPanel_FlowDirection_Set_GetReturnsExpected(
FlowDirection
value, int expectedLayoutCallCount)
171
[InvalidEnumData<
FlowDirection
>]
172
public void FlowLayoutPanel_FlowDirection_SetInvalidValue_ThrowsInvalidEnumArgumentException(
FlowDirection
value)
System\Windows\Forms\FlowLayoutSettingsTests.cs (7)
11
[InlineData(
FlowDirection
.BottomUp, 1)]
12
[InlineData(
FlowDirection
.LeftToRight, 1)]
13
[InlineData(
FlowDirection
.RightToLeft, 1)]
14
[InlineData(
FlowDirection
.TopDown, 1)]
15
public void FlowLayoutSettings_FlowDirection_Set_GetReturnsExpected(
FlowDirection
value, int expectedLayoutCallCount)
44
[InvalidEnumData<
FlowDirection
>]
45
public void FlowLayoutSettings_FlowDirection_SetInvalidValue_ThrowsInvalidEnumArgumentException(
FlowDirection
value)
System\Windows\Forms\Layout\FlowLayoutTests.cs (3)
98
FlowDirection =
FlowDirection
.RightToLeft
159
FlowDirection =
FlowDirection
.TopDown
220
FlowDirection =
FlowDirection
.BottomUp
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3005
Assert.Equal(
FlowDirection
.TopDown, settings.FlowDirection);
System\Windows\Forms\ToolStripTests.cs (1)
4323
Assert.Equal(
FlowDirection
.LeftToRight, settings.FlowDirection);
WinFormsControlsTest (5)
Buttons.cs (3)
43
FlowDirection =
FlowDirection
.TopDown
64
FlowDirection =
FlowDirection
.TopDown
85
FlowDirection =
FlowDirection
.TopDown
MainForm.Designer.cs (1)
41
this.overarchingFlowLayoutPanel.FlowDirection = System.Windows.Forms.
FlowDirection
.TopDown;
TaskDialogSamples.cs (1)
23
FlowDirection =
FlowDirection
.TopDown,