46 references to IsDefault
System.Windows.Forms (46)
winforms\Managed\System\WinForms\DataGrid.cs (22)
684if (myGridTable.IsDefault) 690if (myGridTable.IsDefault) 1688if (this.myGridTable.IsDefault) 3283Debug.Assert(this.myGridTable.IsDefault, "if the table is not default, then it had a name. how can one add another table to the collection w/ the same name and not throw an exception"); 3290Debug.Assert(this.myGridTable.IsDefault, "if the table is not default, then it had a name. how can one add another table to the collection w/ the same name and not throw an exception"); 3302if (!this.myGridTable.IsDefault) { 4767if (this.myGridTable.IsDefault) 5171if (this.myGridTable.IsDefault) 5397bool newRowHeadersVisible = this.myGridTable.IsDefault ? this.RowHeadersVisible : this.myGridTable.RowHeadersVisible; 5398int newRowHeaderWidth = this.myGridTable.IsDefault ? this.RowHeaderWidth : this.myGridTable.RowHeaderWidth; 6549int preferredColumnWidth = this.myGridTable.IsDefault ? this.PreferredColumnWidth : this.myGridTable.PreferredColumnWidth; 7103if (!this.myGridTable.IsDefault) { 7191if (this.myGridTable.IsDefault) 7226this.myGridTable.IsDefault ? this.HeaderFont : this.myGridTable.HeaderFont, 7227this.myGridTable.IsDefault ? this.HeaderForeBrush : this.myGridTable.HeaderForeBrush, 7299if (this.myGridTable.IsDefault) 7338if (this.myGridTable.IsDefault) 8509if (this.myGridTable == null || this.myGridTable.IsDefault) 8653if (this.myGridTable.IsDefault) 8723if (!gridTable.IsDefault && String.Compare(lm.GetListName(), gridTable.MappingName, true, CultureInfo.InvariantCulture) == 0) { 8783if (myGridTable.IsDefault) { 8796this.layout.RowHeadersVisible = newTable.IsDefault ? this.RowHeadersVisible : newTable.RowHeadersVisible;
winforms\Managed\System\WinForms\DataGridAddNewRow.cs (1)
91if (this.dgTable.IsDefault)
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
394System.Drawing.Brush selectionBrush = this.DataGridTableStyle.IsDefault ? this.DataGridTableStyle.DataGrid.SelectionBackBrush : this.DataGridTableStyle.SelectionBackBrush;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (9)
270bool rowHeadersVisible = this.dgTable.IsDefault ? this.DataGrid.RowHeadersVisible : this.dgTable.RowHeadersVisible; 272int rowHeaderWidth = this.dgTable.IsDefault ? this.DataGrid.RowHeaderWidth : this.dgTable.RowHeaderWidth; 301bool rowHeadersVisible = this.dgTable.IsDefault ? this.DataGrid.RowHeadersVisible : this.dgTable.RowHeadersVisible; 596if (this.dgTable.IsDefault) 676if (this.dgTable.IsDefault) 691if (this.dgTable.IsDefault) 717Brush textBrush = this.dgTable.IsDefault ? this.DataGrid.LinkBrush : this.dgTable.LinkBrush; 720textBrush = this.dgTable.IsDefault ? this.DataGrid.LinkBrush : this.dgTable.LinkBrush; 759Pen drawPen = this.dgTable.IsDefault ? this.DataGrid.HeaderForePen : this.dgTable.HeaderForePen;
winforms\Managed\System\WinForms\DataGridRow.cs (11)
106int h = dgTable.IsDefault ? this.DataGrid.PreferredRowHeight : dgTable.PreferredRowHeight; 449g.FillRectangle(this.dgTable.IsDefault ? this.DataGrid.GridLineBrush : this.dgTable.GridLineBrush, bottomBorder); 481int bWidth = this.dgTable.IsDefault ? this.DataGrid.GridLineWidth : this.dgTable.GridLineWidth; 516g.FillRectangle(this.dgTable.IsDefault ? this.DataGrid.GridLineBrush : this.dgTable.GridLineBrush, 557this.dgTable.IsDefault ? this.DataGrid.HeaderBackBrush : this.dgTable.HeaderBackBrush); 568colorMap[0].NewColor = this.dgTable.IsDefault ? this.DataGrid.HeaderForeColor : this.dgTable.HeaderForeColor; 653Brush br = this.dgTable.IsDefault ? DataGrid.BackBrush : this.dgTable.BackBrush; 655br = this.dgTable.IsDefault ? this.DataGrid.AlternatingBackBrush : this.dgTable.AlternatingBackBrush; 670backBr = this.dgTable.IsDefault ? this.DataGrid.SelectionBackBrush : this.dgTable.SelectionBackBrush; 682Brush foreBrush = this.dgTable.IsDefault ? this.DataGrid.ForeBrush : this.dgTable.ForeBrush; 685foreBrush = this.dgTable.IsDefault ? this.DataGrid.SelectionForeBrush : this.dgTable.SelectionForeBrush;
winforms\Managed\System\WinForms\DataGridTable.cs (2)
307if (this.IsDefault) { 1394Debug.Assert(!this.IsDefault, "the grid can set the relations only on a table that was manually added by the user");