10 references to ForcedBoth
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
92private 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)] 2942yield return new object[] { false, RichTextBoxScrollBars.ForcedBoth, 0 }; 2950yield return new object[] { true, RichTextBoxScrollBars.ForcedBoth, 1 }; 3009yield return new object[] { autoSize, RichTextBoxScrollBars.ForcedBoth, 1, 1 }; 3065yield return new object[] { false, RichTextBoxScrollBars.ForcedBoth, 1, 1, 1 }; 3073yield return new object[] { true, RichTextBoxScrollBars.ForcedBoth, 1, 1, 1 };