34 references to ScrollBars
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.designer.cs (1)
95
this._selectAdvancedTextBox.ScrollBars = System.Windows.Forms.
ScrollBars
.Vertical;
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (1)
193
this._statementTextBox.ScrollBars = System.Windows.Forms.
ScrollBars
.Vertical;
System.Windows.Forms (32)
winforms\Managed\System\WinForms\DataGridView.cs (7)
318
private
ScrollBars
scrollBars;
500
this.scrollBars =
ScrollBars
.Both;
4555
DefaultValue(
ScrollBars
.Both),
4560
public
ScrollBars
ScrollBars
4569
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ScrollBars
.None, (int)
ScrollBars
.Both))
4571
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ScrollBars
));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (10)
934
if ((this.scrollBars ==
ScrollBars
.Both || this.scrollBars ==
ScrollBars
.Vertical) /*&&
9068
bool allowHorizScrollbar = (this.scrollBars ==
ScrollBars
.Both) || (this.scrollBars ==
ScrollBars
.Horizontal);
9069
bool allowVertScrollbar = (this.scrollBars ==
ScrollBars
.Both) || (this.scrollBars ==
ScrollBars
.Vertical);
10327
bool allowHorizScrollbar = ((this.scrollBars ==
ScrollBars
.Both) || (this.scrollBars ==
ScrollBars
.Horizontal)) &&
10329
bool allowVertScrollbar = (this.scrollBars ==
ScrollBars
.Both) || (this.scrollBars ==
ScrollBars
.Vertical);
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
280
this.details.ScrollBars = System.Windows.Forms.
ScrollBars
.Vertical;
winforms\Managed\System\WinForms\TextBox.cs (13)
69
private
ScrollBars
scrollBars = System.Windows.Forms.
ScrollBars
.None;
350
if ((scrollBars &
ScrollBars
.Horizontal) ==
ScrollBars
.Horizontal
355
if ((scrollBars &
ScrollBars
.Vertical) ==
ScrollBars
.Vertical) {
419
DefaultValue(
ScrollBars
.None),
422
public
ScrollBars
ScrollBars {
429
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ScrollBars
.None, (int)
ScrollBars
.Both)){
430
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ScrollBars
));
442
if(Multiline && !WordWrap && (ScrollBars &
ScrollBars
.Horizontal) != 0) {
445
if(Multiline && (ScrollBars &
ScrollBars
.Vertical) != 0) {
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
346
details.ScrollBars =
ScrollBars
.Both;