14 references to Both
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
103
ScrollBars = RichTextBoxScrollBars.
Both
;
633
[DefaultValue(RichTextBoxScrollBars.
Both
)]
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
47
ScrollBars = RichTextBoxScrollBars.
Both
;
System.Windows.Forms.Tests (11)
System\Windows\Forms\RichTextBoxTests.cs (11)
118
Assert.Equal(RichTextBoxScrollBars.
Both
, control.ScrollBars);
187
[InlineData(true, true, RichTextBoxScrollBars.
Both
, 0x56210044)]
194
[InlineData(true, false, RichTextBoxScrollBars.
Both
, 0x563100C4)]
201
[InlineData(false, true, RichTextBoxScrollBars.
Both
, 0x560100C0)]
208
[InlineData(false, false, RichTextBoxScrollBars.
Both
, 0x560100C0)]
2941
yield return new object[] { false, RichTextBoxScrollBars.
Both
, 0 };
2949
yield return new object[] { true, RichTextBoxScrollBars.
Both
, 0 };
3008
yield return new object[] { autoSize, RichTextBoxScrollBars.
Both
, 0, 0 };
3064
yield return new object[] { false, RichTextBoxScrollBars.
Both
, 0, 0, 0 };
3072
yield return new object[] { true, RichTextBoxScrollBars.
Both
, 0, 0, 0 };
3147
[InlineData(RichTextBoxScrollBars.
Both
+ 1)]