O'Reilly logo

Microsoft® .NET Compact Framework (Core Reference) by Mark Sutton, Rory MacLoed, Robert Burbidge, Stephen Wheelwright, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. Custom Controls

The controls in the .NET Compact Framework contain a useful subset of the control functionality found in the full .NET Framework. One facility shared by both Frameworks is the ability to create customized versions of a control to promote code reuse. Controls that can be reused within the confines of a single application can reduce the file sizes and memory requirements of an application in much the same way that gathering common code into a method can. Modularizing the code in this way also helps to ensure consistency in design because the same user interface component can be reused. As an additional benefit, a custom control can be packaged in a separate assembly to get binary reuse.

Inheriting from a Toolbox Control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required