Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StyleFormatConditionCollection.GetStyleFormatByValue(GridColumn, Object, Int32) Method

Returns a style condition that matches the specified criteria.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.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