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

iOS: Performance of reloading UIImage(name:...) -

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -