c# - Binding with ElementName not working on a DataTemplate on Windows XP -


why binding elementname on datatemplate of datagridtemplatecolumn not work (will fallback default value or fallbackvalue) under windows xp .net 4.0?

<datagridtemplatecolumn header="aaa" width="62">     <datagridtemplatecolumn.celltemplate>         <datatemplate>             <textbox isenabled="{binding elementname=combobox, path=isenabled}">         </datatemplate>     </datagridtemplatecolumn.celltemplate> </datagridtemplatecolumn> 

but windows 7 , later binding works expected.

the way make work under windows xp, using x:reference.

wpf not support windows xp.

you can tell boss following source: windows presentation foundation. it's microsoft , official.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -