21 references to Inherit
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1696
if (textDirection == ToolStripTextDirection.
Inherit
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (6)
1904
ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_textDirectionProperty, ToolStripTextDirection.
Inherit
);
1906
if (textDirection == ToolStripTextDirection.
Inherit
)
1924
Properties.AddOrRemoveValue(s_textDirectionProperty, value, defaultValue: ToolStripTextDirection.
Inherit
);
2970
ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_textDirectionProperty, ToolStripTextDirection.
Inherit
);
2972
if (textDirection == ToolStripTextDirection.
Inherit
)
3417
public virtual void ResetTextDirection() => TextDirection = ToolStripTextDirection.
Inherit
;
System.Windows.Forms.Tests (14)
System\Windows\Forms\ToolStripControlHostTests.cs (1)
2330
yield return new object[] { ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripDropDownTests.cs (2)
2748
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
2777
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
System\Windows\Forms\ToolStripItemTests.cs (4)
8496
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal)]
8514
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal)]
8552
yield return new object[] { ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal };
8575
yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
649
yield return new object[] { ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripTests.cs (6)
3815
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
3844
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
3886
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
3923
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
3966
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]
4025
[InlineData(ToolStripTextDirection.
Inherit
, ToolStripTextDirection.Horizontal, 1)]