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