c# - Get the eventhandler from a control -


i have page items in treeview open:

<treeview name="pxtreeview" isenabled="false" >         <treeviewitem header="static model" fontweight="bold">             <treeviewitem header="structure" mouseleftbuttonup="menuitem_layerstructure_open_click" isenabled="{binding fieldstructuremodelisenabled}"> 

i want hold treeviewitem's header , event handler in list. there way 'get' event handler treeviewitem?

like:

eventhandlerlist events; foreach (treeviewitem item in treeview.items) {     events.addhandler(item.header,item.mouseleftbuttonup) } 

but can't retrieve handlers delegate control. possible?


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -