Welcome to the Xceed Community | Help
Community Search  
More Search Options

Two Issues - 1) Documentation and 2) tag not recognized in xaml

Sort Posts: Previous Next
  •  01-16-2012, 3:07 PM Post no. 31566

    Two Issues - 1) Documentation and 2) tag not recognized in xaml

    1) In the "Resource Center" apps - Under "Docs" - whenever I click the "Installed Documentation" link - it takes me to: http://msdn.microsoft.com/EN-US/library/%7BA88F8DE4-5C87-44AF-AE69-19ADAEAD7296%7D

     which is a dead link. That happened on the DataGrid "Resource Center" app, too.

     

    2) I'm trying to use a theme, I declare the namespace, xmlns:xcpt="http://schemas.xceed.com/wpf/xaml/themes" , but when I attempt to reference it in the <Windows.Resources> section - I get the error, "  The type 'xcpt:MediaResourceDictionary' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. " The only


    I have installed and licensed the products - probably a dumb error I'm committing ...

     

    Any help?

     

    Thanks,

     

    Paul Mc

     

  •  01-16-2012, 5:26 PM Post no. 31569 in reply to 31566

    Re: Two Issues - 1) Documentation and 2) tag not recognized in xaml

    Hi Paul,

    Question 1)

    Thank you for pointing this out. I have forwarded this to the person that is responsible for the Resource Center of the Xceed Professional Themes for WPF. Jenny did post a topic on how to install the documentation locally on Visual Studion 2010. You can click here for the details. Follow her instructions and you will be able to view them on your machine.

    Question 2)

    Just to make sure, did you include the 2 following DLLs in your project?

     - Xceed.Wpf.Themes.Media.v2.0

     - Xceed.Wpf.Themes.v2.0

    Also, your resources section in XAML should look like this:

    XAML

    --------------------

    <Window x:Class="TestProject148266.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:xcpt="http://schemas.xceed.com/wpf/xaml/themes"
            Title="MainWindow" Height="350" Width="525">
        <Window.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <xcpt:MediaResourceDictionary LicenseKey="XPT20-XXXXX-XXXXX-XXXX" />
                </ResourceDictionary.MergedDictionaries>
               
                <Style TargetType="Button"
                       BasedOn="{x:Static xcpt:MediaResources.ButtonStyle}">
                    <Setter Property="Background"
                            Value="Red" />
                </Style>
            </ResourceDictionary>
        </Window.Resources>
        <Grid>
            <Button x:Name="btnTest" Click="btnTest_Click">
                Hello, I'm a test
            </Button>
        </Grid>
    </Window>

    --------------------

    If this is not working for you, are you able to replicate this issue in a small self contained sample application? With this information, we can investigate further into the matter and provide you with a possible solution. You can send us an email at support@xceed.com


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
  •  01-17-2012, 4:20 PM Post no. 31573 in reply to 31569

    Re: Two Issues - 1) Documentation and 2) tag not recognized in xaml

    Thanks, Mark!

     

    Paul

     

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.