Why when i use ContentPresenter in DataTemplate bindings do not works? #19509
-
|
But when i use ContentControl all works. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
From memory,
|
Beta Was this translation helpful? Give feedback.
From memory,
ContentPresenteris meant to be used in control templates only, not data templates. The WPF docs explain this (and as far as I am aware the same applies to Avalonia):