| File: System\Drawing\FontStyle.cs | Web Access |
| Project: src\winforms\src\System.Drawing.Common\src\System.Drawing.Common.csproj (System.Drawing.Common) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Drawing; /// <summary> /// Specifies style information applied to text. /// </summary> [Flags] [Runtime.CompilerServices.TypeForwardedFrom(AssemblyRef.SystemDrawing)] public enum FontStyle { /// <summary> /// Normal text. /// </summary> Regular = 0, /// <summary> /// Bold text. /// </summary> Bold = 1, /// <summary> /// Italic text. /// </summary> Italic = 2, /// <summary> /// Underlined text. /// </summary> Underline = 4, /// <summary> /// Text with a line through the middle. /// </summary> Strikeout = 8, }