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

GridViewFormatConditionHighlight Members

A grid format condition that allows you to highlight cell values based on a custom expression.

Constructors

Name Description
GridViewFormatConditionHighlight() Initializes a new instance of the GridViewFormatConditionHighlight class with default settings.

Properties

Name Description
ApplyToRow Specifies whether the conditional formatting is applied to a particular cell or to a whole row.
CellStyle Gets the style settings defining the custom conditional formatting applied to cells.
Enabled Specifies whether the current format condition is applied to the grid. Inherited from GridFormatConditionBase.
Expression Gets or sets the expression used to format grid cells. Inherited from GridFormatConditionHighlight.
FieldName Gets or sets the name of the data field against whose values the current format condition is applied. Inherited from GridFormatConditionBase.
Format Gets or sets the style format applied to cells whose values meet the format condition. Inherited from GridFormatConditionExpressionBase.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
RowStyle Gets the style settings defining the custom conditional formatting applied to rows.
Rule Specifies the format condition rule. Inherited from GridFormatConditionHighlight.
ShowInColumn Gets or sets a value that specifies a column to which the current conditional formatting will be applied.
Value1 Gets or sets the first constant that is compared with cell values. Inherited from GridFormatConditionHighlight.
Value2 Gets or sets the second constant that is compared with cell values. Inherited from GridFormatConditionHighlight.

Methods

Name Description
Assign(CollectionItem) Copies the settings from the specified CollectionItem object to the current object. Inherited from GridFormatConditionHighlight.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. 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.
ToString() Returns the string that represents the current object. Inherited from CollectionItem.
See Also