A Sample Extension: Color Selector

To cap this discussion of add-ins, let’s look at the process of developing a functioning package from start to finish. This extension is a color picker. It enables users to click an area of a color palette, and the package emits code to create an instance of a color structure that matches the selected color from the palette. Here is a summary list of requirements for the add-in:

Image In a tool window, it displays a visual color palette representing all the possible colors.

Image As the mouse pointer is moved over the palette, ...

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.