Home > Net >  About the WPF dependency property
About the WPF dependency property

Time:09-18

Sealing a controls, packaging a dependency property, when modifying controls DataContext corresponding to the attribute value, control the content of the show has changed, this is no problem,
But, when manually modify the control content, corresponding DataContext attribute values did not change, the Binding is to use two-way Binding, is this why? Currently adopted event foreign notification, outer layer in turn command processing events, but always don't feel very normal, I want to know the WPF native controls to rely on the property binding is how to deal with it?

CodePudding user response:

From the top,,,,
  •  Tags:  
  • C#
  • Related