21 references to Inherit
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1696if (textDirection == ToolStripTextDirection.Inherit)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (6)
1904ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_textDirectionProperty, ToolStripTextDirection.Inherit); 1906if (textDirection == ToolStripTextDirection.Inherit) 1924Properties.AddOrRemoveValue(s_textDirectionProperty, value, defaultValue: ToolStripTextDirection.Inherit); 2970ToolStripTextDirection textDirection = Properties.GetValueOrDefault(s_textDirectionProperty, ToolStripTextDirection.Inherit); 2972if (textDirection == ToolStripTextDirection.Inherit) 3417public virtual void ResetTextDirection() => TextDirection = ToolStripTextDirection.Inherit;
System.Windows.Forms.Tests (14)
System\Windows\Forms\ToolStripControlHostTests.cs (1)
2330yield 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)] 8552yield return new object[] { ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal }; 8575yield return new object[] { ToolStripTextDirection.Horizontal, ToolStripTextDirection.Inherit, ToolStripTextDirection.Horizontal };
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
649yield 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)]