13 references to FontStyle
System.Windows.Forms.Analyzers (2)
System\Windows\Forms\Analyzers\ApplicationConfig.FontDescriptor.cs (2)
13
public FontDescriptor(string fontName, float emSize,
FontStyle
style, GraphicsUnit unit)
23
public
FontStyle
Style { get; }
System.Windows.Forms.Analyzers.CSharp (11)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (11)
35
FontStyle
fontStyle =
FontStyle
.Regular;
104
fontStyle |= (
FontStyle
)Enum.Parse(typeof(
FontStyle
), styleText, true);
107
FontStyle
validBits =
FontStyle
.Regular |
FontStyle
.Bold |
FontStyle
.Italic |
FontStyle
.Underline |
FontStyle
.Strikeout;
110
throw new InvalidEnumArgumentException(nameof(style), (int)fontStyle, typeof(
FontStyle
));