The tag 'MetroColors' does not exist in XML namespace

2 posts, 0 answers
  1. Balazs
    Balazs avatar
    1 posts
    Member since:
    Jul 2013

    Posted 21 Aug 2013 Link to this post

    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






  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 26 Aug 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top