GridColumnCollection.ForEach(Action<GridColumn>) Method
In This Article
Executes the specified action on each element in the collection.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public void ForEach(
Action<GridColumn> action
)
#Parameters
Name | Type | Description |
---|---|---|
action | Action<Grid |
The delegate to execute on each element in the collection. |
#Remarks
The code below converts the captions of all column headers to uppercase.
See Also