c# listview detail, rhythm unparalleled cell


i'm controlling listview c# grid. i out proceed means rhythm specific cell, programatically. i wholly need rhythm cell.



i've experimented owners drawn subitems, nonetheless controlling next code, i highlighted cells, nonetheless text! there any ideas working? interjection your help.



//m_pc.location x,y coordinates highlighted cell.


void listview1_drawsubitem(object sender, drawlistviewsubitemeventargs e)
{
((e.itemindex == m_pc.location.y) && (e.item.subitems.indexof(e.subitem) == m_pc.location.x))
e.subitem.backcolor = color.blue;
else
e.subitem.backcolor = color.white;
e.drawbackground();
e.drawtext();
}


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?