Creating Your Own Controls

If none of the stock .NET controls meets your specific needs, you can create your own controls for use on a Windows Form in three ways:

Image You can subclass an existing control and modify or extend its behavior and appearance.

Image You can create a user control by compositing together two or more existing controls.

Image You can create a custom control from scratch, implementing your own visuals and behavior.

Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.