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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -