Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Container Controls and Layout   (RSS)

New White Paper: Creating Smart Application Layouts in Windows Forms 2.0

My new Windows Forms white paper is now available on MSDN . It covers using ToolStrip as a navigation alternative to TabControl, and creating collapsible flyout menus a la the Visual Studio Toolbox. Compilable code samples are included. Enjoy!

Snaplines: Using CTRL Key to Snap in Windows Forms

I was just in a meeting and learned about a Windows Forms feature I previously knew nothing of. I love Snaplines in Windows Forms 2.0/Visual Studio 2005. What I didn't know, however, is that you can use the CTRL key and the arrow keys to snap to Snaplines.

Control.Location is a Pain - or, Why We Need an OffsetLocation() Method

I'm polishing up some code for a Windows Forms white paper on application layouts in Windows Forms 2.0. The paper will cover advanced uses of the ToolStrip control for creating navigational layouts, among other things. One of the samples is a VS Toolbox-style

Using TableLayoutPanel to Create DHTML-Style Text Menu

I'm not a big fan of TableLayoutPanel. The control is very limited in what it can do given that the cells created by column/row interactions are not programmatically accessible (unlike in DHTML tables or even in the awesome DataGridView class). However,

Using ToolStrip as a TabControl Alternative in Windows Forms

I've been going back and forth lately with Karl Erickson, another member of our team, and the guy who owns the TabControl docs. It appears that my gripes with TabControl weren't mine alone. He's been fielding reports of various weird bugs, such as the

Windows Forms TabControl: Using Right-Aligned or Left-Aligned Tabs

I wanted to do something today that I thought was simple: take a Windows Forms TabControl and render the tabs horizontally on the right- or left-hand side of the form . The good news is, it is simple. You just have to know the secret sauce to pull it
 
Page view tracker