ColorGrid control is a fairly useful control for selecting from a predefined list of colours. However, it can take up quite a bit of screen real estate depending on how many colours it contains. This article describes how you can host a
ColorGrid in a standard
ToolStrip control, providing access to both the
ColorGrid and the
ToolStrip control makes this surprisingly easy to accomplish. First, we're going to need a component to host the
ColorGrid which we can ably achieve by inheriting from
ToolStripDropDown. So lets get started!