private Image CreateGalleryDropDownImage(Color color)
{
// Create image that has an alpha channel
Image image = new Bitmap(13, 7, PixelFormat.Format32bppArgb);
// Use a graphics instance for drawing the image
using (Graphics g = Graphics.FromImage(image))
{
// Draw a solid arrow
using (SolidBrush fill = new SolidBrush(color))
g.FillPolygon(fill, new Point[] { new Point(4, 3), new Point(6, 6), new Point(9, 3) });
// Draw the line above the arrow
using (Pen pen = new Pen(color))
g.DrawLine(pen, 4, 1, 8, 1);
}
return image;
}