Skip to Content
Windows Forms Programming in C#
book

Windows Forms Programming in C#

by Chris Sells
August 2003
Intermediate to advanced
736 pages
14h 48m
English
Addison-Wesley Professional
Content preview from Windows Forms Programming in C#

Custom Designers

So far, you have seen how properties are exposed to the developer at design time, and you've seen some of the key infrastructure provided by .NET to improve the property-editing experience, culminating in UITypeEditor. Although the focus has been on properties, they aren't the only aspect of a control that operates differently in design-time mode compared with run-time mode. In some situations, a control's UI might render differently between these modes.

For example, the Splitter control displays a dashed border when its BorderStyle is set to BorderStyle.None. This design makes it easier for developers to find this control on the form's design surface in the absence of a visible border, as illustrated in Figure 9.32.

Figure 9.32. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET

Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET

Vaskaran Sarcar
Programming .NET Windows Applications

Programming .NET Windows Applications

Jesse Liberty, Dan Hurwitz
.NET Windows Forms in a Nutshell

.NET Windows Forms in a Nutshell

Ian Griffiths, Matthew Adams

Publisher Resources

ISBN: 0321116208Purchase book