Base:
property
Font
System.Windows.Forms.Control.Font
5 writes to Font
System.Windows.Forms.Tests (5)
System\Windows\Forms\AxHostTests.cs (2)
520Font = value 527control.Font = value;
System\Windows\Forms\ControlTests.Properties.cs (1)
4821Font = font1
System\Windows\Forms\ToolStripDropDownTests.cs (1)
1508Font = font1
System\Windows\Forms\ToolStripTests.cs (1)
1424Font = font1
17 references to Font
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3595/// Gets a cached <see cref="FONTDESC"/> for a given <see cref="Font"/>. The returned
System.Windows.Forms.Tests (16)
System\Windows\Forms\AxHostTests.cs (8)
75Assert.Equal(Control.DefaultFont, control.Font); 76Assert.Equal(control.Font.Height, control.FontHeight); 169Assert.Equal(Control.DefaultFont, control.Font); 170Assert.Equal(control.Font.Height, control.FontHeight); 522Assert.Equal(value ?? Control.DefaultFont, control.Font); 523Assert.Equal(control.Font.Height, control.FontHeight); 528Assert.Equal(value ?? Control.DefaultFont, control.Font); 529Assert.Equal(control.Font.Height, control.FontHeight);
System\Windows\Forms\ControlTests.ControlCollection.cs (8)
954Assert.Equal(Control.DefaultFont, control.Font); 996Assert.Same(font, control.Font); 1027Assert.Equal(Control.DefaultFont, control.Font); 1076Assert.Same(font, control.Font); 2630Assert.Same(font, control.Font); 2665Assert.Equal(Control.DefaultFont, control.Font); 2694Assert.Same(font, control.Font); 2743Assert.Equal(Control.DefaultFont, control.Font);