System.Windows.Forms 2.0.0.0 System.Object Use the class to apply a particular style or theme to a . Rather than custom painting a and the objects it contains, you set the property to an object that inherits from . The painting specified by the is applied to the , as well as the items it contains. You can do custom painting in controls in several ways. As with other Windows Forms controls, the and both have overridable OnPaint methods and Paint events. As with regular painting, the coordinate system is relative to the client area of the control; that is, the upper left-hand corner of the control is 0, 0. The Paint event and OnPaint method for a behave like other control paint events. The class has overridable methods for painting the background, item background, item image, item arrow, item text, and border of the . The event arguments for these methods expose several properties such as rectangles, colors, and text formats that you can adjust as desired. To adjust just a few aspects of how an item is painted, you typically override the . If you are writing a new item and want to control all aspects of the painting, override the OnPaint method. From within OnPaint, you can use methods from the . By default, the is double buffered, taking advantage of the setting. Handles the painting functionality for objects. Constructor is an abstract class, so the constructor is only available to classes derived from it. Initializes a new instance of the class. 2.0.0.0 Method System.Drawing.Image To be added. Creates a gray-scale copy of a given image. An that is a copy of the given image, but with a gray-scale color matrix. The image to be copied. 2.0.0.0 Method System.Void The method provides an entry point to the arrow rendering code. Use this method to draw an arrow when overriding the method, or to force an arrow to be drawn in a custom . To change the way an arrow is rendered, override the method in a class derived from . Draws an arrow on a . A that contains data to draw the arrow. 2.0.0.0 Method System.Void The method provides an entry point to the rendering code for the background of a . Use this method to draw the background of a button when overriding the method, or to force the background of a button to be drawn in a custom . To change the way the background is rendered, override the method in a class derived from . Draws the background for a . The that contains data to draw the button's background. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of a . Use this method to draw the background of a drop-down button when overriding the method, or to force the background of a drop-down button to be drawn in a custom . To change the way the background is rendered, override the method in a class derived from . Draws the background for a . A that contains the data to draw the drop-down button's background. 2.0.0.0 Method System.Void The method provides an entry point to the rendering code for a move handle located on a . Use this method when overriding the method, or to force a move handle to be drawn in a custom . To change the way a move handle is rendered, override the method in a class derived from . Draws a move handle on a . A that contains the data to draw the move handle. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the image. Use this method to draw the image margin when overriding the method, or to force the image margin to be drawn in a custom . To change the way the image margin is rendered, override the method in a class derived from . Draws the space around an image on a . A that contains the data to draw the space around the image. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of an item. Use this method to draw the background of an item when overriding the method, or to force the background of an item to be drawn in a custom . To change the way the background of an item is rendered, override the method in a class derived from . Draws the background for a . A that contains the data to draw the background of the item. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for an image in a selected state. Use this method to draw a selected image when overriding the method, or to force a selected image to be drawn in a custom . To change the way a selected image is rendered, override the method in a class derived from . Draws an image on a that indicates the item is in a selected state. A that contains the data to draw the selected image. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for an image. Use this method to draw an image when overriding the method or to force the image to be drawn in a custom . To change the way the image is rendered, override the OnDrawItem method in a class derived from . Draws an image on a . A that contains the data to draw the image. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the text of a . Use this method to draw the item text when overriding the method, or to force the item text to be drawn in a custom . To change the way the item text is rendered, override the method in a class derived from . Draws text on a . A that contains the data to draw the text. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of a . Use this method to draw the background of a when overriding the method, or to force the background of a to be drawn in a custom . To change the way the background of a is rendered, override the method in a class derived from . Draws the background for a . A that contains the data to draw the background for the label. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of a . Use this method to draw the background of a when overriding the method, or to force the background of a to be drawn in a custom . To change the way the background for a is rendered, override the method in a class derived from . Draws the background for a . A that contains the data to draw the background for the menu item. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of an overflow button. Use this method to draw the background of an overflow button when overriding the method, or to force the background for an overflow button to be drawn in a custom . To change the way the background for an overflow button is rendered, override the method in a class derived from . Draws the background for an overflow button. A that contains the event data. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for a . Use this method to draw the when overriding the method, or to force a to be drawn in a custom . To change the way the is rendered, override the method in a class derived from . Draws a . A that contains the data to draw the . 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for a . Use this method to draw a when overriding the method, or to force a to be drawn in a custom . To change the way the is rendered, override the method in a class derived from . Draws a . A that contains the event data. 2.0.0.0 Method System.Void To be added. Draws a sizing grip. A that contains the event data. 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the background of a . Use this method to draw the background of a when overriding the method, or to force the background of a to be drawn in a custom . To change the way the background of a is rendered, override the method in a class derived from . Draws the background for a . A that contains the data to draw the background for the . 2.0.0.0 Method System.Void The method provides the entry point to the rendering code for the border of a . Use this method to draw the border of a when overriding the method, or to force the border of a to be drawn in a custom . To change the way the border of a is rendered, override the method in a class derived from . Draws the border for a . A that contains the data to draw the border for the . 2.0.0.0 Method System.Void To be added. Draws the background of the . A that contains the event data. 2.0.0.0 Method System.Void To be added. Draws the background of the . A that contains the event data. 2.0.0.0 Method System.Void To be added. Draws the background of the . A that contains the event data. 2.0.0.0 Method 2.0.0.0 System.Void Use the method to set properties, such as the or , when a is rendered. When overridden in a derived class, provides for custom initialization of the given . The to be initialized. Method 2.0.0.0 System.Void To be added. Initializes the specified . The . Method 2.0.0.0 System.Void Use the method to set properties, such as the or , when a is rendered. When overridden in a derived class, provides for custom initialization of the given . The to be initialized. Method 2.0.0.0 System.Void To be added. Initializes the specified . The . Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Draws the item background. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Raises the event. A that contains the event data. 2.0.0.0 Event System.Windows.Forms.ToolStripArrowRenderEventHandler For more information about handling events, see Consuming Events. Occurs when an arrow on a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripGripRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the move handle for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripRenderEventHandler For more information about handling events, see Consuming Events. Draws the margin between an image and its container. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemImageRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the image for a selected is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemImageRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the image for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemTextRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the text for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for an overflow button is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripSeparatorRenderEventHandler For more information about handling events, see Consuming Events. Occurs when a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the display style changes. 2.0.0.0 Event System.Windows.Forms.ToolStripRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the background for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripRenderEventHandler For more information about handling events, see Consuming Events. Occurs when the border for a is rendered. 2.0.0.0 Event System.Windows.Forms.ToolStripContentPanelRenderEventHandler For more information about handling events, see Consuming Events. Draws the background of a . 2.0.0.0 Event System.Windows.Forms.ToolStripPanelRenderEventHandler For more information about handling events, see Consuming Events. Draws the background of a . 2.0.0.0 Event System.Windows.Forms.ToolStripItemRenderEventHandler For more information about handling events, see Consuming Events. Draws the background of a . 2.0.0.0