Base:
property
Font
System.Windows.Forms.Control.Font
5 writes to Font
System.Windows.Forms.Tests (5)
System\Windows\Forms\AxHostTests.cs (2)
520
Font
= value
527
control.
Font
= value;
System\Windows\Forms\ControlTests.Properties.cs (1)
4821
Font
= font1
System\Windows\Forms\ToolStripDropDownTests.cs (1)
1508
Font
= font1
System\Windows\Forms\ToolStripTests.cs (1)
1424
Font
= 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)
75
Assert.Equal(Control.DefaultFont, control.
Font
);
76
Assert.Equal(control.
Font
.Height, control.FontHeight);
169
Assert.Equal(Control.DefaultFont, control.
Font
);
170
Assert.Equal(control.
Font
.Height, control.FontHeight);
522
Assert.Equal(value ?? Control.DefaultFont, control.
Font
);
523
Assert.Equal(control.
Font
.Height, control.FontHeight);
528
Assert.Equal(value ?? Control.DefaultFont, control.
Font
);
529
Assert.Equal(control.
Font
.Height, control.FontHeight);
System\Windows\Forms\ControlTests.ControlCollection.cs (8)
954
Assert.Equal(Control.DefaultFont, control.
Font
);
996
Assert.Same(font, control.
Font
);
1027
Assert.Equal(Control.DefaultFont, control.
Font
);
1076
Assert.Same(font, control.
Font
);
2630
Assert.Same(font, control.
Font
);
2665
Assert.Equal(Control.DefaultFont, control.
Font
);
2694
Assert.Same(font, control.
Font
);
2743
Assert.Equal(Control.DefaultFont, control.
Font
);