Skip to main content

MVCxGridViewFormatConditionCollection.AddHighlight(Action<GridViewFormatConditionHighlight>) Method

Creates a new format condition item with the default settings, adds it to the MVCxGridViewFormatConditionCollection collection, and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public GridViewFormatConditionHighlight AddHighlight(
    Action<GridViewFormatConditionHighlight> method
)

Parameters

Name Type Description
method Action<GridViewFormatConditionHighlight>

A delegate method that accepts the created GridViewFormatConditionHighlight object as a parameter.

Returns

Type Description
GridViewFormatConditionHighlight

An GridViewFormatConditionHighlight object that is the newly created format condition item.

See Also