Base:
property
Font
System.Windows.Forms.Control.Font
7 writes to Font
System.Windows.Forms.Tests (7)
System\Windows\Forms\ScrollBarTests.cs (7)
486
Font
= value
493
control.
Font
= value;
514
control.
Font
= font1;
519
control.
Font
= font1;
525
control.
Font
= font2;
530
control.
Font
= null;
536
control.
Font
= font1;
15 references to Font
System.Windows.Forms.Tests (15)
System\Windows\Forms\HScrollBarTests.cs (2)
71
Assert.Equal(Control.DefaultFont, control.
Font
);
72
Assert.Equal(control.
Font
.Height, control.FontHeight);
System\Windows\Forms\ScrollBarTests.cs (11)
61
Assert.Equal(Control.DefaultFont, control.
Font
);
62
Assert.Equal(control.
Font
.Height, control.FontHeight);
488
Assert.Equal(value ?? Control.DefaultFont, control.
Font
);
489
Assert.Equal(control.
Font
.Height, control.FontHeight);
494
Assert.Equal(value ?? Control.DefaultFont, control.
Font
);
495
Assert.Equal(control.
Font
.Height, control.FontHeight);
515
Assert.Same(font1, control.
Font
);
520
Assert.Same(font1, control.
Font
);
526
Assert.Same(font2, control.
Font
);
531
Assert.Equal(Control.DefaultFont, control.
Font
);
537
Assert.Same(font1, control.
Font
);
System\Windows\Forms\VScrollBarTests.cs (2)
70
Assert.Equal(Control.DefaultFont, control.
Font
);
71
Assert.Equal(control.
Font
.Height, control.FontHeight);