10 references to Both
System.Windows.Forms (10)
winforms\Managed\System\WinForms\DataGridView.cs (3)
500
this.scrollBars = ScrollBars.
Both
;
4555
DefaultValue(ScrollBars.
Both
),
4569
if (!ClientUtils.IsEnumValid(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.
Both
))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
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\TextBox.cs (1)
429
if (!ClientUtils.IsEnumValid(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.
Both
)){
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
346
details.ScrollBars = ScrollBars.
Both
;