12 references to Name
System.Drawing.Common (5)
System\Drawing\Font.cs (2)
156
string name = string.IsNullOrEmpty(OriginalFontName) ?
Name
: OriginalFontName;
255
public override int GetHashCode() => HashCode.Combine(
Name
, Style, Size, Unit);
System\Drawing\FontConverter.cs (3)
36
sb.AppendLiteral(font.
Name
);
110
args[0] = font.
Name
;
399
return props.Sort([nameof(Font.
Name
), nameof(Font.Size), nameof(Font.Unit)]);
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.cs (3)
3679
fixed (char* n = font.
Name
)
3709
: new(f.
Name
, f.SizeInPoints, f.Style, GraphicsUnit.Point, f.GdiCharSet, f.GdiVerticalFont);
3733
fixed (char* n = font.
Name
)
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
35
fixed (char* n = font.
Name
)
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (2)
113
if (!source.
Name
.Equals(target->Name.ToStringAndFree()))
115
target->Name = new(source.
Name
);
System\Windows\Forms\Help\Help.cs (1)
89
string captionFont = $"{font.
Name
}, {font.SizeInPoints}, , {(font.Bold ? "BOLD" : "")}{(font.Italic ? "ITALIC" : "")}{(font.Underline ? "UNDERLINE" : "")}";