Is it possible to somehow control the binding from the dependency object in the user controller? I need to check the availability of data in the binding, and select the appropriate user control for insertion into the controller to which this data is attached. Something by type

if (args.NewValue != null) myUserControl.Content.Add(newMySecondControll()) 

something like that

  • Sample XAML code possible? - Raider
  • Yes, the fact of the matter is that there is no such thing yet. with a similar way a friend suggested. now I do this: I created many small controllers (separate controls for audio content, video, photos, products, etc.), I use the x attribute: DeferedLoadStrategy, in the general control I collect it into one control and bind the common Json object. But it seems to me that, at a minimum, everything can be done much more carefully. - Arthur

0