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)
188
[InlineData(true, true, RichTextBoxScrollBars.
ForcedBoth
, 0x56212044)]
195
[InlineData(true, false, RichTextBoxScrollBars.
ForcedBoth
, 0x563120C4)]
202
[InlineData(false, true, RichTextBoxScrollBars.
ForcedBoth
, 0x560100C0)]
209
[InlineData(false, false, RichTextBoxScrollBars.
ForcedBoth
, 0x560100C0)]
2942
yield return new object[] { false, RichTextBoxScrollBars.
ForcedBoth
, 0 };
2950
yield return new object[] { true, RichTextBoxScrollBars.
ForcedBoth
, 1 };
3009
yield return new object[] { autoSize, RichTextBoxScrollBars.
ForcedBoth
, 1, 1 };
3065
yield return new object[] { false, RichTextBoxScrollBars.
ForcedBoth
, 1, 1, 1 };
3073
yield return new object[] { true, RichTextBoxScrollBars.
ForcedBoth
, 1, 1, 1 };