Skip to main content
Tab

CardViewFormatConditionHighlight.ShowInColumn Property

Gets or sets a value that specifies a column to which the current conditional formatting will be applied.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue("")]
public string ShowInColumn { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that identifies the data column in the ASPxCardView by its unique identifier name (WebColumnBase.Name), the name of the data source field to which it is bound (CardViewColumn.FieldName), or the column caption (WebColumnBase.Caption).

Remarks

The ASPxCardView supports conditional formatting, i.e., automatically applies cell formatting based on the specified rules.

Use the ShowInColumn property to specify the column to which the current conditional formatting will be applied. If the ShowInColumn property isn’t specified, the formatting is applied to the column specified by the GridFormatConditionBase.FieldName property.

You can apply the conditional formatting to the entire card content by setting the CardViewFormatConditionHighlight.ApplyToCard property to true.

Note

This is the priority when using string column identifiers in searching for a column:

  • First, the Name property match is searched for.
  • Then, the first FieldName property match is searched for.
  • Last, the first Caption property match is searched for.
See Also