Accueil > Non classé > Clone visual tree with binding

Clone visual tree with binding

here a class for clonning visualtree inside with binding

and use like this

Principes

  • create a binding converter
  • register converter for binding
  • save xaml with settings and reload it
  • set the same datacontext for source and clonning object

you must check if the datacontext of Header object is the real DataContext of object inside in visual tree

Categories: Non classé Tags:
  1. Pas encore de commentaire
  1. Pas encore de trackbacks