InvalidOperationException: A style intended for type 'Telerik_Windows_Controls_RadTileViewItem_0_123599943' cannot be applied to type 'ContentPresenter'.
What is this supposed to mean? This appears to pop up randomly, and now I cannot get it to go away..
2 Answers, 1 is accepted
0
Evgenia
Telerik team
answered on 07 Nov 2016, 08:29 AM
Hi Tyler,
The style you are trying to apply would need to target a RadTileViewItem as its name implies. The exception literally says that you are trying to provide the style to a ContentPresenter element and not the RadTielViewItem itself.
If you are not adding custom styles to your project can you please elaborate more (better with a code project attached as archive here) how do you reproduce the exception so that we can assist you further.
Regards,
Evgenia
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!