public override void DrawDropDownButton(RenderContext context,
Rectangle displayRect,
IPalette palette,
PaletteState state,
VisualOrientation orientation)
{
Debug.Assert(context != null);
Debug.Assert(palette != null);
// Validate parameter references
if (context == null) throw new ArgumentNullException("context");
if (palette == null) throw new ArgumentNullException("palette");
// Grab an image appropriate to the state
Image drawImage = palette.GetDropDownButtonImage(state);
if (drawImage != null)
DrawImageHelper(context, drawImage, Color.Empty,
displayRect, orientation, PaletteImageEffect.Normal,
Color.Empty, Color.Empty);
}