7 writes to FaceName
System.Windows.Forms (3)
System\Windows\Forms\Rendering\FontCache.Data.cs (3)
98FaceName = familyName, 108logFont.FaceName = DefaultFaceName; 116logFont.FaceName = DefaultFaceName;
System.Windows.Forms.Primitives.Tests (4)
Interop\User32\LOGFONTWTests.cs (3)
18logFont.FaceName = "TwoFace"; 22logFont.FaceName = "Face"; 29logFont.FaceName = bigString;
System\Windows\Forms\Automation\UiaTextRangeTests.cs (1)
1180FaceName = faceName
15 references to FaceName
System.Windows.Forms (3)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2766FaceName = logFont.FaceName
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
423if (!logFont.FaceName.IsEmpty)
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
106if (logFont.FaceName.IsEmpty)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
881private static string GetFontName(LOGFONTW logfont) => logfont.FaceName.ToString();
System.Windows.Forms.Primitives.Tests (3)
Interop\User32\LOGFONTWTests.cs (3)
19Assert.Equal("TwoFace", logFont.FaceName.ToString()); 23Assert.Equal("Face", logFont.FaceName.ToString()); 30Assert.True(logFont.FaceName.SequenceEqual(bigString.AsSpan()[1..]));
System.Windows.Forms.Primitives.TestUtilities (2)
Metafiles\RecordTypes\EMREXTCREATEFONTINDIRECTW.cs (1)
18=> $@"[{nameof(EMREXTCREATEFONTINDIRECTW)}] Index: {ihFont} FaceName: '{elfw.elfLogFont.FaceName.ToString()}' Height: {elfw.elfLogFont.lfHeight} Weight: FW_{elfw.elfLogFont.lfWeight}";
Metafiles\Validators\FontFaceNameValidator.cs (1)
15public void Validate(DeviceContextState state) => Assert.Equal(_fontFaceName, state.SelectedFont.FaceName.ToString());
System.Windows.Forms.Tests (6)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (3)
396Assert.False(string.IsNullOrEmpty(actual.FaceName.ToString())); 416Assert.True(string.IsNullOrEmpty(actual.FaceName.ToString())); 1086string actual = logFont.FaceName.ToString();
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (3)
369Assert.False(string.IsNullOrEmpty(actual.FaceName.ToString())); 383Assert.True(string.IsNullOrEmpty(actual.FaceName.ToString())); 928string actual = logFont.FaceName.ToString();