c# - How do I get this binding expression? -


the following xaml code:

<listview itemssource="{binding path=viewmodel.rows}"               x:name="lview" horizontalalignment="left" height="401" margin="10,52,0,0" verticalalignment="top" width="504">                  <listview.view>                     <gridview>                         <gridviewcolumn x:name="expressions"                                  width="250"                                  header="expression"                                 displaymemberbinding="{binding expression}">                         </gridviewcolumn>                         <gridviewcolumn x:name="tele"                                  width="50"                                  header="in tele?">                             <gridviewcolumn.celltemplate>                                 <datatemplate>                                     <checkbox x:name="telcheck"                                        datacontext="{binding}"                                       isenabled="true"                                               ischecked="{binding path=tel, updatesourcetrigger=explicit}"></checkbox>                                 </datatemplate>                              </gridviewcolumn.celltemplate>                         </gridviewcolumn>                     </gridview>                 </listview.view>             </listview> 

how binding expression telcheck (i.e., checkbox's ischecked property)? earlier in code, textbox named namebox, did following:

var = namebox.getbindingexpression(textbox.textproperty); be.updatesource(); 

try changing updatesourcetrigger propertychanged, tel property should have value.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -