Skip to content

Public types from ".Internal" namespaces are not exposed in XML namespace #4030

@nicolaihenriksen

Description

@nicolaihenriksen

Bug explanation

The public XML namespace "http://materialdesigninxaml.net/winfx/xaml/themes" defined in src/MaterialDesignThemes/Wpf.Properties/AssemblyInfo.cs does expose the ".Internal" namespaces making it difficult to use the public types defined in these namespaces in custom code/XAML.

Please expose a new XML namespace "http://materialdesigninxaml.net/winfx/xaml/themes-internal" ("materialDesignInternal") which includes the following namespaces:

  • MaterialDesignThemes.Wpf.Converters.Internal
  • MaterialDesignThemes.Wpf.Behaviors.Internal
  • MaterialDesignThemes.Wpf.Internal

Also, update the repository documentation (and wiki if possible) to include descriptions of this new XML namespace and when/why it should be used. Make sure to include a disclaimer that types from the internal namespaces are not guaranteed to have backwards-compatibility between versions.

Version

5.3.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions