The installer will copy all the necessary files into the product's installation folder (usually in [Installation Folder]\Xceed\Xceed Pro Themes for WPF v[VERSION], or a folder specific to a single-theme product).
In order to begin using Xceed's WPF theme products, the product's assemblies must be referenced in your project using the following steps.
Once the assemblies have been added to your project, the namespace maps that are to be used must be declared. In XAML this is done using the xmlns attribute.
XAML |
Copy Code |
---|---|
xmlns:xcpt="http://schemas.xceed.com/wpf/xaml/themes" |
The schema collection for Xceed Pro Themes for WPF holds the following namespaces:
Namespace | Description |
---|---|
Xceed.Wpf.Themes.v#.#.dll | The Xceed.Wpf.Themes namespace defines the base class of the themes. |
Xceed.Wpf.Themes.Glass.v#.#.dll | The Xceed.Wpf.Themes.Glass namespace defines the class of the Glass theme. |
Xceed.Wpf.Themes.LiveExplorer.v#.#.dll | The Xceed.Wpf.Themes.LiveExplorer namespace defines the class of the Live Explorer theme. |
Xceed.Wpf.Themes.Media.v#.#.dll | The Xceed.Wpf.Themes.Media namespace defines the class of the Media theme. |
Xceed.Wpf.Themes.Office2007.v#.#.dll | The Xceed.Wpf.Themes.Office2007 namespace defines the class of the Office 2007 themes. |
Xceed.Wpf.Themes.Windows7.v#.#.dll | The Xceed.Wpf.Themes.Windows7 namespace defines the class of the Windows 7 theme. |
In C# or VB.NET, the using and Imports directives can be used to create aliases for the namespaces listed in the table above.
VB.NET | Copy Code |
---|---|
Imports Xceed.Wpf.Themes |
C# | Copy Code |
---|---|
|
To use any of Xceed's WPF themes, you must ensure that they are properly licensed in your code. Otherwise, an exception will be thrown.
For information on how to take advantage of the implicit styling capabilities of this product, see Applying Themes Implicitly.
For information on how to use explicit styling with this product, see Applying Themes Explicitly.