12 writes to ScrollBars
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
103ScrollBars = RichTextBoxScrollBars.Both;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
47ScrollBars = RichTextBoxScrollBars.Both;
System.Windows.Forms.Tests (10)
System\Windows\Forms\RichTextBoxTests.cs (10)
221ScrollBars = scrollBars 2925control.ScrollBars = value; 2932control.ScrollBars = value; 2983control.ScrollBars = value; 2991control.ScrollBars = value; 3042control.ScrollBars = value; 3052control.ScrollBars = value; 3118control.ScrollBars = value; 3129control.ScrollBars = value; 3152Assert.Throws<InvalidEnumArgumentException>("value", () => control.ScrollBars = value);
16 references to ScrollBars
System.Windows.Forms (7)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (7)
290if (((int)ScrollBars & RichTextBoxConstants.RTB_HORIZ) != 0 && !WordWrap) 294if (((int)ScrollBars & RichTextBoxConstants.RTB_FORCE) != 0) 300if (((int)ScrollBars & RichTextBoxConstants.RTB_VERT) != 0) 303if (((int)ScrollBars & RichTextBoxConstants.RTB_FORCE) != 0) 431if (!WordWrap && Multiline && (ScrollBars & RichTextBoxScrollBars.Horizontal) != 0) 436if (Multiline && (ScrollBars & RichTextBoxScrollBars.Vertical) != 0) 643if (value != ScrollBars)
System.Windows.Forms.Tests (9)
System\Windows\Forms\RichTextBoxTests.cs (9)
118Assert.Equal(RichTextBoxScrollBars.Both, control.ScrollBars); 2926Assert.Equal(value, control.ScrollBars); 2933Assert.Equal(value, control.ScrollBars); 2984Assert.Equal(value, control.ScrollBars); 2992Assert.Equal(value, control.ScrollBars); 3043Assert.Equal(value, control.ScrollBars); 3053Assert.Equal(value, control.ScrollBars); 3119Assert.Equal(value, control.ScrollBars); 3130Assert.Equal(value, control.ScrollBars);