silverlight 4.0 - Is it possible to Enter editmode to a list box in Grid without double click on the cell? -


i following example in following link try out listbox in grid http://forums.silverlight.net/forums/t/53435.aspx works except that, need double click on cell enter edit mode switch listbox. there other way can enable list box on getting focus? thanks,

the simple way enter cell in edit mode without using mouse. first, need row in have cell. cell, change edit mode true. if don't have row, can find using itemcontainergenerator on grid business object used in row (from itemsource collection). here example of code :

gridviewrow myrow = mygrid.itemcontainergenerator.containerfromitem(yourbusinessobject); gridviewcell mycell = myrow.cells(yourcellindex);
mycell.isineditmode = true;

hope !


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -