8 writes to UseCompatibleTextRendering
PresentationUI (1)
MS\Internal\Documents\DialogBaseForm.cs (1)
107(c as Label).UseCompatibleTextRendering = false;
System.Windows.Forms (3)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1736base.UseCompatibleTextRendering = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
221_titleLabel.UseCompatibleTextRendering = OwnerPropertyGrid.UseCompatibleTextRendering; 222_descriptionLabel.UseCompatibleTextRendering = OwnerPropertyGrid.UseCompatibleTextRendering;
System.Windows.Forms.Tests (4)
System\Windows\Forms\LabelTests.cs (4)
853label.UseCompatibleTextRendering = true; 857label.UseCompatibleTextRendering = false; 861label.UseCompatibleTextRendering = defaultValue; 875label.UseCompatibleTextRendering = !label.UseCompatibleTextRendering;
13 references to UseCompatibleTextRendering
System.Windows.Forms (7)
System\Windows\Forms\Controls\Labels\Label.cs (4)
1004if (UseCompatibleTextRendering) 1047internal virtual bool UseGDIMeasuring() => (FlatStyle == FlatStyle.System || !UseCompatibleTextRendering); 1106if (UseCompatibleTextRendering && FlatStyle != FlatStyle.System) 1280if (UseCompatibleTextRendering)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (3)
1728Debug.Assert(CanUseTextRenderer || base.UseCompatibleTextRendering, "Using GDI text rendering when CanUseTextRenderer reported false."); 1729return base.UseCompatibleTextRendering; 1733if (base.UseCompatibleTextRendering != value)
System.Windows.Forms.Tests (6)
System\Windows\Forms\LabelTests.cs (6)
108Assert.True(control.UseCompatibleTextRendering); 850bool defaultValue = label.UseCompatibleTextRendering; 854Assert.True(label.UseCompatibleTextRendering); 858Assert.False(label.UseCompatibleTextRendering); 862Assert.Equal(defaultValue, label.UseCompatibleTextRendering); 875label.UseCompatibleTextRendering = !label.UseCompatibleTextRendering;