TB007
Member
- Joined
- Aug 13, 2022
- Messages
- 24
- Programming Experience
- Beginner
I want to iterate through a datagrid header column and get its values to a variable, something like
How can I do this following mvvm?
C#:
foreach (DataGridColumn column in gridView.Columns)
{
var cell = column.Header.ToString()
}
How can I do this following mvvm?