views:

697

answers:

2

Does anyone have or know best practices for implementing a custom layout engine in WinForms? I've seen the windowsclient.net link, but it's a bit dated (Sept 2001).

A: 

When I tried to do custom layout engine in WinForms, I was blocked by the fact that IArrangedElement interface is internal. It looks stupid, but it seems you can't get layout properties in a uniform way unless you develop System.Windows.Forms itself.

Ilya Ryzhenkov
Yeah, maybe I'm missing something, but I'm not very impressed with the layout capabilities in WinForms.
Lurker Indeed
+1  A: 

You can always check out DevExpress Layout Control. It's not free but it is an eye opener.

Glenner003
Interesting...I'll play with it and see what I find.
Lurker Indeed