Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppearanceObject.FontStyle Property

Specifies a font style for the target UI element.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

#Declaration

public DXFontStyle? FontStyle { get; set; }

#Property Value

Type Description
Nullable<DXFontStyle>

An enumeration value that specifies a font style.

Available values:

Name Description
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 (Nothing in VB).

See Also