Data error's using TransitionPresenter

WPF Studio, Themes, and Shared Library for WPF Forum

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

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}"
                                        IsFirstContentTransitionEnabled="True"
                                        Content="{Binding ActiveItem}"
                                        ContentTemplate="{DynamicResource HeaderedContentControlItemTemplate}"
                                        DefaultDuration="0:0:1">
                <shared:TransitionPresenter.Transition>
                    <shared:FourBoxWipeTransition />
                </shared:TransitionPresenter.Transition>
            </shared:TransitionPresenter>

Comments (2)

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

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 6 years ago by Josh Luth - Software Developer, Esha Research
Avatar

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 (v2018.1 build 0675) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.