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 ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.