Data error's using TransitionPresenter

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 12 years ago by Josh Luth - Software Developer, Esha Research
Version: 12.2.0570

When using the TransitionPresenter I'm getting errors in my output window: 

System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set;  'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')

 I don't set the ContentTemplateSelector, so I'm not sure why this is happening. Here is my xaml:

 <shared:TransitionPresenter Grid.Column="0"
                                        IsEnabled="{Binding HasValidEntity}"
                                        Content="{Binding ActiveItem}"
                                        ContentTemplate="{DynamicResource HeaderedContentControlItemTemplate}"
                    <shared:FourBoxWipeTransition />

Comments (2)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Josh,

I did a test and didn't see anything in the output window.  Perhaps you have a different setup though.  If you'd like us to look into it further, please make a new simple sample project that shows it (minimal as possible) and email that to our support address.  Rename the .zip file extension so it doesn't get spam blocked.  Thanks!

Actipro Software Support

Posted 12 years ago by Josh Luth - Software Developer, Esha Research

I did a bit more digging and it appears that we have some styles being applied that are trying to set the contenttemplate. So it wasn't anything to do with the Actipro control. Thanks for getting back to me though.

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.