Skip to main content
.NET 6.0+

AppearanceObject.FontStyle Property

Specifies a font style for the target UI element.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v23.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