ColIndex

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

How do i get the number of current cell index?
I'm trying to use CurrentCell.INdex but it gives me -1!
I would like to put an icon in second column header!

Hrcko
 
Hi Hrvoje Voda,

What CurrentCell are you talking about?
The only one I am aware of is the DataGrid.CurrentCell which is a
DataGridCell with a RowNumber and ColumnNumber property, but that one does
not have an index property.
 
OK. Then just a code that puts an icon that I want(imageList.Index) into
grid header.

For example.
I fill an imageList with 3 icons.
I would like to use an icon with index=0 and put in into grid.
 
Back
Top