XML namespace suggestion for themes

Ribbon for WPF Forum

Posted 17 years ago by John Tasler
Version: 3.5.0421
Avatar
It would have been great if you would have done this in 3.5:

XmlnsDefinition("http://schemas.actiprosoftware.com/winfx/xaml/ribbon", "ActiproSoftware.Windows.Controls.Ribbon.Themes")

Rather than this:

XmlnsDefinition("http://schemas.actiprosoftware.com/winfx/xaml/themes", "ActiproSoftware.Windows.Controls.Ribbon.Themes")

Since you should avoid breaking changes in future revisions, don't change the latter, but please consider adding the former to the AssemblyInfo.cs. Since the namespace is in the same assembly, it makes sense (and is more convenient) to have the the same XML namespace.

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi John,

Let me explain the reason why there is a separate themes XML namespace and perhaps it will make more sense.

The themes namespaces for each product can contain many classes that support the themes. A lot of these are resource dictionaries and other utility classes. We didn't want to clutter up intellisense in Visual Studio with those items under normal development circumstances. We wanted to keep the member lists for "ribbon:" focused on product implementation (like control classes, etc.) and all the theme-related code out of there.

Whereas when you use the "themes:" then you have access to the theme information and customization for all our products. So if you are working on themes for one or more of our products, you only need to use "themes:".


Actipro Software Support

The latest build of this product (v24.1.3) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.