10 references to ForcedBoth
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
92
private static readonly BitVector32.Section s_scrollBarsSection = BitVector32.CreateSection((short)RichTextBoxScrollBars.
ForcedBoth
, s_allowOleObjectsSection);
System.Windows.Forms.Tests (9)
System\Windows\Forms\RichTextBoxTests.cs (9)
190
[InlineData(true, true, RichTextBoxScrollBars.
ForcedBoth
, 0x56212044)]
197
[InlineData(true, false, RichTextBoxScrollBars.
ForcedBoth
, 0x563120C4)]
204
[InlineData(false, true, RichTextBoxScrollBars.
ForcedBoth
, 0x560100C0)]
211
[InlineData(false, false, RichTextBoxScrollBars.
ForcedBoth
, 0x560100C0)]
2944
yield return new object[] { false, RichTextBoxScrollBars.
ForcedBoth
, 0 };
2952
yield return new object[] { true, RichTextBoxScrollBars.
ForcedBoth
, 1 };
3011
yield return new object[] { autoSize, RichTextBoxScrollBars.
ForcedBoth
, 1, 1 };
3067
yield return new object[] { false, RichTextBoxScrollBars.
ForcedBoth
, 1, 1, 1 };
3075
yield return new object[] { true, RichTextBoxScrollBars.
ForcedBoth
, 1, 1, 1 };