The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IAppearanceFormat.ResetFontStyle() Method

Resets a UI element's font style, if it has been changed by a conditional appearance rule.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

void ResetFontStyle()
Sub ResetFontStyle
void ResetFontStyle()
Sub ResetFontStyle
void ResetFontStyle()
Sub ResetFontStyle

Remarks

The UI elements that implement the IAppearanceFormat interface can be formatted (highlighted) by the AppearanceController according to conditional appearance rules. For instance, a font style can be changed via the IAppearanceFormat.FontStyle property. At the same time, you can reset the applied font style to a default one, if required. For instance, handle the AppearanceController.AppearanceApplied event, access the required item using the ApplyAppearanceEventArgs.Item parameter and reset the font style by casting the item to the IAppearanceFormat interface and using the ResetFontStyle method.

See Also