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

The tag 'MetroColors' does not exist in XML namespace

1 Answer 182 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Balazs
Top achievements
Rank 1
Balazs asked on 21 Aug 2013, 08:33 AM
Hi Telerik team:

Here is the code fragment of CalculatorCustomizeTTV  witch i downloaded from your server

<UserControl x:Class="CalculatorCustomizeTTV.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls.Input;assembly=Telerik.Windows.Controls.Input"
xmlns:local="clr-namespace:CalculatorCustomizeTTV"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

<UserControl.Resources>
<local:CustomOperationsSource x:Key="operationsSource" />
<telerik:MetroColors x:Key="MetroColors" />
<SolidColorBrush x:Key="AccentBrush" telerik:MetroColors.Color="Accent" />
<telerik:MetroTheme x:Key="Theme" />
<SolidColorBrush x:Key="MainBrush" telerik:MetroColors.Color="Main" />
<SolidColorBrush x:Key="BasicBrush" telerik:MetroColors.Color="Basic" />
<SolidColorBrush x:Key="MarkerBrush" telerik:MetroColors.Color="Marker" />
   ......

There is an error message :

Error 10 The tag 'MetroColors' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. C:\masm32\examples\BBExamples\CS_Examples\Exam_SIL_CS\Backgrounds\DemoProjects\RadCalculatorDemo\CalculatorCustomizeTTV\MainPage.xaml 13 6 CalculatorCustomizeTTV

I am using VS2012 and the latest binary ...

How can i do that properly?

Best regards
Balazs Barna






1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 26 Aug 2013, 10:51 AM
Hi Balazs,

 

Most probably you are referring to an old version of our demos. Please use the latest code
for further reference, as presented in our live demos here. 
Hope this helps! 


Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Balazs
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or