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