10 references to Both
System.Windows.Forms (10)
winforms\Managed\System\WinForms\DataGridView.cs (3)
500this.scrollBars = ScrollBars.Both; 4555DefaultValue(ScrollBars.Both), 4569if (!ClientUtils.IsEnumValid(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.Both))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
934if ((this.scrollBars == ScrollBars.Both || this.scrollBars == ScrollBars.Vertical) /*&& 9068bool allowHorizScrollbar = (this.scrollBars == ScrollBars.Both) || (this.scrollBars == ScrollBars.Horizontal); 9069bool allowVertScrollbar = (this.scrollBars == ScrollBars.Both) || (this.scrollBars == ScrollBars.Vertical); 10327bool allowHorizScrollbar = ((this.scrollBars == ScrollBars.Both) || (this.scrollBars == ScrollBars.Horizontal)) && 10329bool allowVertScrollbar = (this.scrollBars == ScrollBars.Both) || (this.scrollBars == ScrollBars.Vertical);
winforms\Managed\System\WinForms\TextBox.cs (1)
429if (!ClientUtils.IsEnumValid(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.Both)){
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
346details.ScrollBars = ScrollBars.Both;