StyleFormatConditionCollection.GetStyleFormatByValue(GridColumn, Object, Int32) Method

Returns a style condition that matches the specified criteria.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public StyleFormatCondition GetStyleFormatByValue(
    GridColumn column,
    object value,
    int listSourceRow
)
Public Function GetStyleFormatByValue(
    column As GridColumn,
    value As Object,
    listSourceRow As Integer
) As StyleFormatCondition

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