This project has moved. For the latest updates, please go here.

Microsoft namespace ?

Feb 27, 2012 at 3:56 PM

Why is this project under microsoft namespace (both in .net and xml) if there is no affiliation with Microsoft ?

Shouldn't it be renamed ?

Feb 27, 2012 at 3:57 PM

When the project was first created it was because I personally needed it in my projects.  I used the same namespace to reduce the number of xmlns imports in my XAML.  I just never changed it.

Mar 5, 2012 at 1:55 PM

It could use XmlnsDefinition like:

[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ExtendedToolkit.Controls")]

[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2007/xaml/presentation", "ExtendedToolkit.Controls")]

[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2008/xaml/presentation", "ExtendedToolkit.Controls")]

Mar 5, 2012 at 5:44 PM

Yes, this was realized a while ago, but I was eventually going to change the namespaces so I didn't bother.  I am pretty sure the namespaces will change anyways since I have given the project to Xceed.

Mar 5, 2012 at 9:01 PM

While such abuses as above are possible, they are generally a really bad idea since they cause confusion and give false sense of Microsoft affiliation (which they don't like - see bottom of that page).

It would be much better to pick reasonable and short default prefix (XmlnsPrefixAttribute), for example "tkx" or "xtk".

Also, since C# does not have unfortunate limitations of XML, there is really no excuse for such abuse in library code :(

Anyway, it's good to know that it will change.

BTW. Since I use Infragistics at work and it's where you are working now: does your employer have any plans for a PropertyGrid control (or what's more interesting to me - a DataForm) that's integrated with their product (ie. xamEditors, Undo framework) ? Do you have any hints how to performs such integration with current PropertyGrid (which with minor hacks I've managed to retemplate to look like a form) ?

Mar 5, 2012 at 9:12 PM

I agree with your statement.

Please email me at blagunas at infragistics dot com to address any questions you have regarding Infragistics control suite. I feel it is inappropriate to discuss such matters on Xceed's project site.

Thanks

Editor
Mar 6, 2012 at 3:39 PM

We will consider changing the namespaces, but after we release the next update in a week or two.

Mar 6, 2012 at 9:39 PM

Would you also consider migrating to mercurial ? Current setup makes it hard to track changes and discourages contributions.