I'm having some problems with the following:
- I want to get the first visible AND frozen column of a column collection.
I think this will do it:
DataGridViewColumnCollection dgv = myDataGridView.Columns;
dgv.GetFirstColumn(
DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
- Is it also possible to make a bitmask to get the first frozen OR visible column?