This is a migrated thread and some comments may be shown as answers.

StyleManager.Theme does not exsist

3 Answers 284 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 24 Mar 2016, 10:26 AM
I have an old .net application that is no longer supported or being devolped. I need to make some changes and would also like to fancy up the interface. I used justdecompile to decompile it but I am getting a lot of XAML errors -
The property 'StyleManager.Theme' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 57 Position 116

.
The application uses

Telerik.Windows.Controls.Data.dll,Telerik.Windows.Controls.dll,Telerik.Windows.Controls.Docking.dll, Telerik.Windows.Controls.Input.dll, Telerik.Windows.Controls.Navigation.dll,Telerik.Windows.Data.dll

I ran the upgrade wizard on the project and it completed without any error I think it upgraded from Telerik version 2013. Can I upgrade this project to have no XAML and only use implictit styles?

 

 

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Mar 2016, 07:09 AM
Hello Jay,

Yes, you can upgrade the project to use Implicit Styles, you can check the following topic on how this approach works:
Setting a Theme (Using Implicit Styles)

However, please note that StyleManager is still available and it is strange that you're receiving this error. Please check whether all the references are the same version and are coming from the same location.

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Adeline
Top achievements
Rank 1
answered on 02 Apr 2016, 06:34 PM

Hi all references are the same version. below is error and code

The property 'StyleManager.Theme' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.

<TextBox Name="txtBoxKeyword" Grid.Column="1" Margin="0 1" FontSize="18" VerticalContentAlignment="Center" telerik:StyleManager.Theme="Windows7" TextChanged="txtBoxKeyword_TextChanged" />

0
Yana
Telerik team
answered on 04 Apr 2016, 10:58 AM
Hello Adeline,

The telerik namespace should be defined like this:



Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
Jay
Top achievements
Rank 1
Answers by
Yana
Telerik team
Adeline
Top achievements
Rank 1
Share this question
or