Represents a format rule used to apply conditional formatting to dashboard items.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v19.2.Core.dll
public abstract class DashboardItemFormatRule :
IFormatConditionOwner,
IDataItemRepositoryProvider,
IXmlSerializableElement,
ISupportPrefix,
INameContainer,
INamedItem
Public MustInherit Class DashboardItemFormatRule
Implements IFormatConditionOwner,
IDataItemRepositoryProvider,
IXmlSerializableElement,
ISupportPrefix,
INameContainer,
INamedItem
Dashboard items that support conditional formatting expose the FormatRules property, providing access to a collection of the DashboardItemFormatRule descendants.
To create a new rule, do the following.
Finally, add the created format rule to the FormatRules collection exposed by the dashboard item.