All docs
V21.1
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CardItemFormatRule Members

A format rule that is calculated by data items and used to apply conditional formatting to the Card dashboard item.

Constructors

Name Description
CardItemFormatRule() Initializes a new instance of the CardItemFormatRule class.
CardItemFormatRule(DataItem) Initializes a new instance of the CardItemFormatRule class with specified settings.
CardItemFormatRule(DataItem, CardFormatRuleLayoutElement) Initializes a new instance of the CardItemFormatRule class with specified settings.

Properties

Name Description
ApplyToLayoutElement Gets or sets the Card dashboard item’s layout element to apply conditional formatting. Inherited from CardItemFormatRuleBase.
Condition Gets or sets a condition used to apply formatting to a dashboard item. Inherited from DashboardItemFormatRule.
DataItem Gets or sets the data item by whose values a format rule is calculated.
Enabled Gets or sets whether the current format rule is enabled. Inherited from DashboardItemFormatRule.
IsValid Gets whether the current format rule is properly specified. Inherited from CardItemFormatRuleBase.
Name Gets or sets the name of the current format rule. Inherited from DashboardItemFormatRule.

Methods

Name Description
Assign(DashboardItemFormatRule) Copies settings of the specified object to the current object. Inherited from DashboardItemFormatRule.
BeginUpdate() Locks the DashboardItemFormatRule object by preventing updates until the DashboardItemFormatRule.EndUpdate method is called. Inherited from DashboardItemFormatRule.
EndUpdate() Unlocks the DashboardItemFormatRule object after a call to the DashboardItemFormatRule.BeginUpdate method and causes an immediate update. Inherited from DashboardItemFormatRule.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetLayoutElementApplyTo(String, String) For internal use. Inherited from CardItemFormatRuleBase.
ToString() Returns the string that represents the current object. Inherited from DashboardItemFormatRule.
See Also