Jul 15, 2011 at 2:23 PM
Edited Jul 15, 2011 at 2:26 PM
i found a point where the decision is done which BindableProperty has to be taken.
var useViewModel = element.ContentTemplate == null && element.ContentTemplateSelector == null;
in my case, i would need the ContentControl.ContentProperty, but because i do not set the ContentTemplate and do not use a ContentTemplateSelector, the decision is wrong here.
i would need a way to influence this decision by applying a AttachedDependencyProperty or a AdHoc method that will be called when the binding with the model occurres.
(Sadly, cal:View.ApplyConventions="False" do not work in this case, because it only influence the view and not the content control itself...)
Can someone help me with this please?