expressappframework-devexpress-dot-expressapp-dot-conditionalappearance-dot-appearanceattribute-8fd9165a.md
Specifies the font style of AppearanceAttribute.TargetItems affected by the conditional appearance rule generated from this attribute instance.
Namespace : DevExpress.ExpressApp.ConditionalAppearance
Assembly : DevExpress.Persistent.Base.v25.2.dll
NuGet Package : DevExpress.Persistent.Base
public DXFontStyle FontStyle { get; set; }
Public Property FontStyle As DXFontStyle
| Type | Description |
|---|---|
| DXFontStyle |
An enumeration value that specifies the font style of target items affected by the conditional appearance rule.
|
Available values:
| Name | Description |
|---|---|
| Regular |
Normal text.
| | Bold |
Bold text.
| | Italic |
Italic text.
| | Underline |
Underlined text.
| | Strikeout |
Strike-through text.
|
The following UI elements can change their font style:
GridListEditor (the font style of the displayed text)TreeListEditor (the font style of the displayed text)You can find many examples in the Declare Conditional Appearance Rules in Code topic. See these examples in the Feature Center demo installed with the XAF in the %PUBLIC%\Documents\DevExpress Demos 25.2\Components\XAF\FeatureCenter.NET.XPO folder, or refer to the Feature Center demo online.
See Also