30 references to FlowDirection
System.Windows.Forms (30)
winforms\Managed\System\WinForms\FlowLayoutPanel.cs (2)
38
[DefaultValue(
FlowDirection
.LeftToRight)]
41
public
FlowDirection
FlowDirection {
winforms\Managed\System\WinForms\FlowLayoutSettings.cs (2)
27
[DefaultValue(
FlowDirection
.LeftToRight)]
29
public
FlowDirection
FlowDirection {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (15)
77
private static ContainerProxy CreateContainerProxy(IArrangedElement container,
FlowDirection
flowDirection) {
80
case
FlowDirection
.RightToLeft:
82
case
FlowDirection
.TopDown:
84
case
FlowDirection
.BottomUp:
86
case
FlowDirection
.LeftToRight:
97
FlowDirection
flowDirection = GetFlowDirection(container);
143
return LayoutUtils.FlipSizeIf(flowDirection ==
FlowDirection
.TopDown || GetFlowDirection(container) ==
FlowDirection
.BottomUp, layoutSize);
287
public static
FlowDirection
GetFlowDirection(IArrangedElement container) {
288
return (
FlowDirection
) container.Properties.GetInteger(_flowDirectionProperty);
291
public static void SetFlowDirection(IArrangedElement container,
FlowDirection
value) {
293
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
FlowDirection
.LeftToRight, (int)
FlowDirection
.BottomUp)){
294
throw new InvalidEnumArgumentException("value", (int)value, typeof(
FlowDirection
));
644
private void Debug_VerifyAlignment(IArrangedElement container,
FlowDirection
flowDirection) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1141
flowLayoutSettings.FlowDirection =
FlowDirection
.TopDown;
1537
closeOnHorizontalKey = FlowLayout.GetFlowDirection(this) ==
FlowDirection
.TopDown && !FlowLayout.GetWrapContents(this);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
574
settings.FlowDirection =
FlowDirection
.TopDown;
winforms\Managed\System\WinForms\ToolStripOverflow.cs (4)
127
if (FlowLayout.GetFlowDirection(this) !=
FlowDirection
.TopDown) {
128
FlowLayout.SetFlowDirection(this,
FlowDirection
.TopDown);
135
if (FlowLayout.GetFlowDirection(this) !=
FlowDirection
.LeftToRight) {
136
FlowLayout.SetFlowDirection(this,
FlowDirection
.LeftToRight);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
478
FlowLayout.SetFlowDirection(this,
FlowDirection
.TopDown);
481
FlowLayout.SetFlowDirection(this,
FlowDirection
.LeftToRight);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
931
FlowLayoutSettings.FlowDirection =
FlowDirection
.LeftToRight;
1441
FlowLayoutSettings.FlowDirection =
FlowDirection
.TopDown;