Skip to main content

DashboardItemFormatRule Class

Represents a format rule used to apply conditional formatting to dashboard items.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public abstract class DashboardItemFormatRule :
    IFormatConditionOwner,
    IDataItemRepositoryProvider,
    IXmlSerializableElement,
    ISupportPrefix,
    INameContainer,
    INamedItem

Remarks

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.

See Also