Drinking the DevX Kool-Aid

10/08/09

Permalink 08:30:22 pm, by truewill Email , 264 words, 197 views   English (US)
Categories: Tips, C#, .NET, Windows, Tools, WTF

Drinking the DevX Kool-Aid

The current standards of the company I work for state that Developer Express controls will be used instead of Microsoft FCL controls on all deployed WinForms applications. This has caused some grief in the past. One tool vendor for GUI testing supported only FCL controls without expensive customization. New hires aren’t familiar with the controls. Since we develop in-house software, DevX version upgrades require GAC deployments of the redistributable assemblies. Our shared assemblies that depend on DevX must be kept in sync. The third-party controls do not appear to be tested as rigorously as the Microsoft controls. And common properties are sometimes difficult to find, buried under options properties.

The controls (the grids in particular) do have some nice features. But there are drawbacks.

Today I was trying to data-bind a collection of objects to a DevX grid. The objects had properties of an enumerated type. I wanted to display the value of the DescriptionAttribute for the enum columns. After asking around and searching, I posted the question on Stack Overflow and got a great response from Marc Gravell. It works beautifully with Microsoft’s DataGridView.

Unfortunately it does not work with the DevExpress.XtraGrid.GridControl. And Developer Express “are not going to implement this feature”. Why? Because it’s not as performant. The company offers an alternate solution, which involves setting two properties for every affected grid column. The original Microsoft solution could be applied with an attribute on the enum type or on the bound-class property.

I’m not advocating using only FCL controls. Just be aware of the trade-offs inherent in using third-party ones.

Comments, Pingbacks:

Comment from: Marc Gravell [Visitor] Email · http://marcgravell.blogspot.com
That is... vexing. Oh well, sorry it didn't work out.
PermalinkPermalink 10/12/09 @ 02:09

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
The name truewill is composed of two other words. What is the SECOND word?

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 5

powered by b2evolution free blog software