Skip to main content
A newer version of this page is available. .

DashboardItemFormatRule Class

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

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.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