34 writes to Style
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
361Style = _boolCellStyle 383Style = _textCellStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
911dataGridViewCell.Style = new DataGridViewCellStyle(Style);
System.Windows.Forms.Tests (31)
System\Windows\Forms\DataGridViewCellTests.cs (29)
2254Style = value 2260cell.Style = value; 2275Style = oldValue 2277cell.Style = value; 2282cell.Style = value; 2295cell.Style = value; 2300cell.Style = value; 2316Style = oldValue 2320cell.Style = value; 2325cell.Style = value; 2338cell.Style = value; 2343cell.Style = value; 2359Style = oldValue 2363cell.Style = value; 2368cell.Style = value; 2386cell.Style = value; 2391cell.Style = value; 2412cell.Style = oldValue; 2414cell.Style = value; 2419cell.Style = value; 2452cell.Style = style1; 2458cell.Style = style1; 2468cell.Style = style2; 2474cell.Style = null; 2480cell.Style = null; 2486cell.Style = style2; 2493cell.Style = style1; 3323Style = new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft }, 5747Style = new DataGridViewCellStyle()
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2025Style = new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft }, 2111Style = new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft },
55 references to Style
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
335header.HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; 341header.HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleLeft;
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
2797cellStyle = cell.Style;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (5)
636dataGridViewCellStyle = Style; 911dataGridViewCell.Style = new DataGridViewCellStyle(Style); 1907cellStyle = Style; 3057Style.RemoveScope(DataGridViewCellStyleScopes.Cell); 3061Style.AddScope(DataGridView, DataGridViewCellStyleScopes.Cell);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
289cellStyle = Style;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
605cellStyle = HeaderCell.Style;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
314cellStyle = Style;
System.Windows.Forms.Tests (44)
System\Windows\Forms\DataGridViewCellTests.cs (33)
46Assert.NotNull(cell.Style); 47Assert.Same(cell.Style, cell.Style); 2256Assert.Equal(expected, cell.Style); 2261Assert.Equal(expected, cell.Style); 2278Assert.Equal(expected, cell.Style); 2283Assert.Equal(expected, cell.Style); 2296Assert.Equal(expected, cell.Style); 2301Assert.Equal(expected, cell.Style); 2321Assert.Equal(expected, cell.Style); 2326Assert.Equal(expected, cell.Style); 2339Assert.Equal(expected, cell.Style); 2344Assert.Equal(expected, cell.Style); 2364Assert.Equal(expected, cell.Style); 2369Assert.Equal(expected, cell.Style); 2387Assert.Equal(expected, cell.Style); 2392Assert.Equal(expected, cell.Style); 2415Assert.Equal(expected, cell.Style); 2420Assert.Equal(expected, cell.Style); 2453Assert.Equal(style1, cell.Style); 2459Assert.Equal(style1, cell.Style); 2469Assert.Same(style2, cell.Style); 2475Assert.NotNull(cell.Style); 2481Assert.NotNull(cell.Style); 2487Assert.NotNull(cell.Style); 2494Assert.Equal(style1, cell.Style); 3356Assert.Equal(new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft }, cell.Style); 3357Assert.NotSame(source.Style, cell.Style); 3393Assert.Equal(new DataGridViewCellStyle(), cell.Style); 5739Assert.Equal(DataGridViewCellStyleScopes.Cell, cell.Style.Scope); 5749Assert.Equal(DataGridViewCellStyleScopes.Cell, cell.Style.Scope); 5751Assert.Equal(DataGridViewCellStyleScopes.None, cell.Style.Scope);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (11)
44Assert.NotNull(cell.Style); 45Assert.Same(cell.Style, cell.Style); 2058Assert.Equal(new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft }, cell.Style); 2059Assert.NotSame(source.Style, cell.Style); 2095Assert.Equal(new DataGridViewCellStyle(), cell.Style); 2144Assert.Equal(new DataGridViewCellStyle { Alignment = DataGridViewContentAlignment.BottomLeft }, cell.Style); 2145Assert.NotSame(source.Style, cell.Style); 2181Assert.Equal(new DataGridViewCellStyle(), cell.Style);