89 references to Horizontal
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
1687[DefaultValue(ToolStripTextDirection.Horizontal)] 1694ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_propTextDirection, ToolStripTextDirection.Horizontal); 1698textDirection = ToolStripTextDirection.Horizontal; 1706Properties.AddOrRemoveValue(s_propTextDirection, value, defaultValue: ToolStripTextDirection.Horizontal);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
419[DefaultValue(ToolStripTextDirection.Horizontal)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
776[DefaultValue(ToolStripTextDirection.Horizontal)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (2)
36if (_ownerItem.TextDirection == ToolStripTextDirection.Horizontal) 55if (_ownerItem.TextDirection == ToolStripTextDirection.Horizontal)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1915textDirection = (Owner is null) ? ToolStripTextDirection.Horizontal : Owner.TextDirection;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
148if (Owner.TextDirection != ToolStripTextDirection.Horizontal)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
874if (e.TextDirection != ToolStripTextDirection.Horizontal && textRect.Width > 0 && textRect.Height > 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
219[DefaultValue(ToolStripTextDirection.Horizontal)]
System.Windows.Forms.Tests (77)
System\Windows\Forms\MdiControlStripTests.cs (1)
141Assert.Equal(ToolStripTextDirection.Horizontal, mdiControlStrip.TextDirection);
System\Windows\Forms\MenuStripTests.cs (1)
139Assert.Equal(ToolStripTextDirection.Horizontal, control.TextDirection);
System\Windows\Forms\StatusStripTests.cs (1)
142Assert.Equal(ToolStripTextDirection.Horizontal, control.TextDirection);
System\Windows\Forms\ToolStripButtonTests.cs (6)
87Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 168Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 255Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 345Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 433Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 531Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection);
System\Windows\Forms\ToolStripControlHostTests.cs (4)
116Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 2330yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal }; 2331yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
87Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 176Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 275Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 383Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
147Assert.Equal(ToolStripTextDirection.Horizontal, control.TextDirection); 2748[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 2749[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 2777[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 2778[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)]
System\Windows\Forms\ToolStripItemTests.cs (28)
86Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 171Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 266Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 8496[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal)] 8497[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal)] 8514[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal)] 8515[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal)] 8552yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal }; 8553yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal }; 8575yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal }; 8576yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal }; 8577yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Vertical90, ToolStripTextDirection.Vertical90 }; 8578yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Vertical270, ToolStripTextDirection.Vertical270 }; 8784item.TextDirection = ToolStripTextDirection.Horizontal; 8785Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 8789Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 8808item.TextDirection = ToolStripTextDirection.Horizontal; 8809Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 8813Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 14241Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 14246Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 14250Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
96Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection);
System\Windows\Forms\ToolStripSeparatorTests.cs (4)
84Assert.Equal(ToolStripTextDirection.Horizontal, item.TextDirection); 649yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal }; 650yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripTests.cs (20)
155Assert.Equal(ToolStripTextDirection.Horizontal, control.TextDirection); 310Assert.Equal(ToolStripTextDirection.Horizontal, control.TextDirection); 3815[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 3816[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 3844[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 3845[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 3886[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 3887[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 3923[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 3924[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 3966[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 3967[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)] 4025[InlineData(ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal, 1)] 4026[InlineData(ToolStripTextDirection.Horizontal, ToolStripTextDirection.Horizontal, 1)]