89 references to Horizontal
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
1687
[DefaultValue(ToolStripTextDirection.
Horizontal
)]
1694
ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_propTextDirection, ToolStripTextDirection.
Horizontal
);
1698
textDirection = ToolStripTextDirection.
Horizontal
;
1706
Properties.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)
36
if (_ownerItem.TextDirection == ToolStripTextDirection.
Horizontal
)
55
if (_ownerItem.TextDirection == ToolStripTextDirection.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1915
textDirection = (Owner is null) ? ToolStripTextDirection.
Horizontal
: Owner.TextDirection;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
148
if (Owner.TextDirection != ToolStripTextDirection.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
874
if (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)
141
Assert.Equal(ToolStripTextDirection.
Horizontal
, mdiControlStrip.TextDirection);
System\Windows\Forms\MenuStripTests.cs (1)
139
Assert.Equal(ToolStripTextDirection.
Horizontal
, control.TextDirection);
System\Windows\Forms\StatusStripTests.cs (1)
142
Assert.Equal(ToolStripTextDirection.
Horizontal
, control.TextDirection);
System\Windows\Forms\ToolStripButtonTests.cs (6)
87
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
168
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
255
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
345
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
433
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
531
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
System\Windows\Forms\ToolStripControlHostTests.cs (4)
116
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
2330
yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.
Horizontal
};
2331
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.
Horizontal
};
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
87
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
176
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
275
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
383
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
147
Assert.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)
86
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
171
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
266
Assert.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
)]
8552
yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.
Horizontal
};
8553
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.
Horizontal
};
8575
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.Inherit, ToolStripTextDirection.
Horizontal
};
8576
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.
Horizontal
};
8577
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.Vertical90, ToolStripTextDirection.Vertical90 };
8578
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.Vertical270, ToolStripTextDirection.Vertical270 };
8784
item.TextDirection = ToolStripTextDirection.
Horizontal
;
8785
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
8789
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
8808
item.TextDirection = ToolStripTextDirection.
Horizontal
;
8809
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
8813
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
14241
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
14246
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
14250
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
96
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
System\Windows\Forms\ToolStripSeparatorTests.cs (4)
84
Assert.Equal(ToolStripTextDirection.
Horizontal
, item.TextDirection);
649
yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.
Horizontal
};
650
yield return new object[] { ToolStripTextDirection.
Horizontal
, ToolStripTextDirection.
Horizontal
};
System\Windows\Forms\ToolStripTests.cs (20)
155
Assert.Equal(ToolStripTextDirection.
Horizontal
, control.TextDirection);
310
Assert.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)]