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