Skip to main content

StyleFormatConditionCollection.GetStyleFormatByValue(GridColumn, Object, Int32) Method

Returns a style condition that matches the specified criteria.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public StyleFormatCondition GetStyleFormatByValue(
    GridColumn column,
    object value,
    int listSourceRow
)

Parameters

Name Type Description
column GridColumn

A GridColumn object that specifies a grid column.

value Object

A Object that is the column’s value.

listSourceRow Int32

The index of the row in the data source whose value is to be tested.

Returns

Type Description
StyleFormatCondition

A StyleFormatCondition object that matches the specified criteria.

See Also