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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.