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