Skip to content

Commit ae4502b

Browse files
committed
Merge pull request #130 from SuicSoft/CustomXamlNamespace
Added custom xaml namespace
2 parents ba24cc3 + f8dbc28 commit ae4502b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

MaterialDesignColors.Wpf/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Runtime.CompilerServices;
44
using System.Runtime.InteropServices;
55
using System.Windows;
6+
using System.Windows.Markup;
67

78
// General Information about an assembly is controlled through the following
89
// set of attributes. Change these attribute values to modify the information
@@ -15,6 +16,8 @@
1516
[assembly: AssemblyCopyright("Copyright © 2015")]
1617
[assembly: AssemblyTrademark("")]
1718
[assembly: AssemblyCulture("")]
19+
[assembly: XmlnsPrefix("http://materialdesigninxaml.net/winfx/xaml/colors", "materialDesignColor")]
20+
[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/colors", "MaterialDesignColors.Wpf")]
1821

1922
// Setting ComVisible to false makes the types in this assembly not visible
2023
// to COM components. If you need to access a type in this assembly from

MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Runtime.CompilerServices;
44
using System.Runtime.InteropServices;
55
using System.Windows;
6+
using System.Windows.Markup;
67

78
// General Information about an assembly is controlled through the following
89
// set of attributes. Change these attribute values to modify the information
@@ -15,7 +16,8 @@
1516
[assembly: AssemblyCopyright("Copyright © 2015")]
1617
[assembly: AssemblyTrademark("")]
1718
[assembly: AssemblyCulture("")]
18-
19+
[assembly: XmlnsPrefix("http://materialdesigninxaml.net/winfx/xaml/themes", "materialDesign")]
20+
[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/themes", "MaterialDesignThemes.Wpf")]
1921

2022
// Setting ComVisible to false makes the types in this assembly not visible
2123
// to COM components. If you need to access a type in this assembly from

0 commit comments

Comments
 (0)