Skip to main content
Tab

GridViewFormatConditionTopBottom.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.1.dll

NuGet Package: DevExpress.Web

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 ASPxGridView by its unique identifier name (WebColumnBase.Name), the name of the data source field to which it is bound (GridViewDataColumn.FieldName), or the column caption (WebColumnBase.Caption).

Remarks

The ASPxGridView 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 an entire grid row by setting the GridViewFormatConditionTopBottom.ApplyToRow 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