Export (0) Print
Expand All

ToolStripItemTextRenderEventArgs Members

Provides data for the RenderItemText event.

The ToolStripItemTextRenderEventArgs type exposes the following members.

  NameDescription
Public method ToolStripItemTextRenderEventArgs Overloaded. Initializes a new instance of the ToolStripItemTextRenderEventArgs class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Graphics Gets the graphics used to paint the ToolStripItem. (Inherited from ToolStripItemRenderEventArgs.)
Public property Item Gets the ToolStripItem to paint. (Inherited from ToolStripItemRenderEventArgs.)
Public property Text Gets or sets the text to be drawn on the ToolStripItem.
Public property TextColor Gets or sets the color of the ToolStripItem text.
Public property TextDirection Gets or sets whether the text is drawn vertically or horizontally.
Public property TextFont Gets or sets the font of the text drawn on the ToolStripItem.
Public property TextFormat Gets or sets the display and layout information of the text drawn on the ToolStripItem.
Public property TextRectangle Gets or sets the rectangle that represents the bounds to draw the text in.
Public property ToolStrip Gets the value of the ToolStripItem.Owner property for the ToolStripItem to paint. (Inherited from ToolStripItemRenderEventArgs.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft