You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copilot wants to merge 2 commits intomasterMaterialDesignInXAML/MaterialDesignInXamlToolkit:masterfrom
copilot/expose-internal-xml-namespaceMaterialDesignInXAML/MaterialDesignInXamlToolkit:copilot/expose-internal-xml-namespaceCopy head branch name to clipboard
Copilot wants to merge 2 commits intomasterMaterialDesignInXAML/MaterialDesignInXamlToolkit:masterfrom
copilot/expose-internal-xml-namespaceMaterialDesignInXAML/MaterialDesignInXamlToolkit:copilot/expose-internal-xml-namespaceCopy head branch name to clipboard
Exposes a new XML namespace http://materialdesigninxaml.net/winfx/xaml/themes-internal (prefix: materialDesignInternal) to make public types from the .Internal sub-namespaces accessible in XAML.
Changes Made
src/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs: Added XmlnsPrefix and XmlnsDefinition assembly attributes registering the new http://materialdesigninxaml.net/winfx/xaml/themes-internal namespace, covering:
MaterialDesignThemes.Wpf.Internal
MaterialDesignThemes.Wpf.Converters.Internal
MaterialDesignThemes.Wpf.Behaviors.Internal
README.md: Added an "XML Namespaces" subsection under "Getting started" documenting both XML namespaces, with a warning that types from the materialDesignInternal namespace are not guaranteed to maintain backwards-compatibility between versions, and a usage example.
Usage
To use the internal namespace in XAML, declare it as follows:
Note: Types exposed via materialDesignInternal are internal implementation details and are not guaranteed to maintain backwards-compatibility between versions.
@copilot There really isn't a need for a runner for this work. Simply make the changes in the .cs file and update the documentation, then I can review the changes.
Done. Commit 28fbb4c makes the following changes directly to the files:
src/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs – Added XmlnsPrefix and XmlnsDefinition attributes registering the new http://materialdesigninxaml.net/winfx/xaml/themes-internal namespace (prefix: materialDesignInternal) covering MaterialDesignThemes.Wpf.Internal, MaterialDesignThemes.Wpf.Converters.Internal, and MaterialDesignThemes.Wpf.Behaviors.Internal.
README.md – Added an "XML Namespaces" subsection documenting both namespaces, with a warning that types from the internal namespace are not guaranteed to be backwards-compatible between versions.
CopilotAI
changed the title
[WIP] Expose new XML namespace for internal types
Expose new XML namespace for internal types
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exposes a new XML namespace
http://materialdesigninxaml.net/winfx/xaml/themes-internal(prefix:materialDesignInternal) to make public types from the.Internalsub-namespaces accessible in XAML.Changes Made
src/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs: AddedXmlnsPrefixandXmlnsDefinitionassembly attributes registering the newhttp://materialdesigninxaml.net/winfx/xaml/themes-internalnamespace, covering:MaterialDesignThemes.Wpf.InternalMaterialDesignThemes.Wpf.Converters.InternalMaterialDesignThemes.Wpf.Behaviors.InternalREADME.md: Added an "XML Namespaces" subsection under "Getting started" documenting both XML namespaces, with a warning that types from thematerialDesignInternalnamespace are not guaranteed to maintain backwards-compatibility between versions, and a usage example.Usage
To use the internal namespace in XAML, declare it as follows: