Pixata Custom Controls
For Lightswitch

Recent Posts

Popular tags (# posts in brackets)

Anonymous types (3) ASP.NET (5) C# (3) C# tricks and tips (2) Computers (6) Design patterns (3) DomainDataSource (3) Dynamic data (4) Entity framework (3) Entity model framework (5) F# (3) LightSwitch (12) Linq (6) Microsoft (2) MVP (2) MVVM (2) Project Euler (2) RIA services (5) Silverlight (2) SQL Server (4) Unit testing (4) Visual Studio (7) WCF (3) WPF (3)

Gratuitous link to StackExchange

Archives


Categories


Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Actually, as I'm self-employed, I guess that means that any views I expressed here aren't my own. That's confusing!


Acknowledgments

Theme modified from one by Tom Watts
C#/F# code styling by Manoli (for posts pre-2016) and Google code prettify (for post from Jan 2016 and beyond)


My rambling thoughts on exploring the .NET framework and related technologies

The Horizontal Divider control Horizontal And Vertical Dividers

Controls are generally laid out on the screen without any visible boundary between them. Whilst this is usually what you want, sometimes it would be nice to be able to divide up the screen into logical areas. The two divider controls allow you to do that. They work the same way, except that one provides a horizontal divider, and the other provides a vertical divider.

There are only two specific properties for these controls, the width or height of the divider, and the colour. Here you can see a blue one-pixel high horizontal between the Surname and Email controls, and part of a green three-pixel wide vertical divider to the left of them.

Two divider controls on a screen