Back to Devexpress

AppearanceObject.FontStyle Property

expressappframework-devexpress-dot-expressapp-dot-conditionalappearance-dot-appearanceobject.md

latest2.0 KB
Original Source

AppearanceObject.FontStyle Property

Specifies a font style for the target UI element.

Namespace : DevExpress.ExpressApp.ConditionalAppearance

Assembly : DevExpress.ExpressApp.ConditionalAppearance.v25.2.dll

NuGet Package : DevExpress.ExpressApp.ConditionalAppearance

Declaration

csharp
public DXFontStyle? FontStyle { get; set; }
vb
Public Property FontStyle As DXFontStyle?

Property Value

TypeDescription
Nullable<DXFontStyle>

An enumeration value that specifies a font style.

|

Available values:

NameDescription
Regular

Normal text.

| | Bold |

Bold text.

| | Italic |

Italic text.

| | Underline |

Underlined text.

| | Strikeout |

Strike-through text.

|

Remarks

If there are conditional appearance rules that apply a font style within the rules appropriate for the target UI element, the AppearanceObject‘s FontStyle property returns the font style specified by the rule with the higher priority (see IAppearance.Priority). If there are no rules that apply a font style, the FontStyle property returns null.

See Also

AppearanceObject Class

AppearanceObject Members

DevExpress.ExpressApp.ConditionalAppearance Namespace