ToolStripItem::TextImageRelation Property
.NET Framework (current version)
Gets or sets the position of ToolStripItem text and image relative to each other.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property TextImageRelation TextImageRelation { TextImageRelation get(); void set(TextImageRelation value); }
Property Value
Type: System.Windows.Forms::TextImageRelationOne of the TextImageRelation values. The default is ImageBeforeText.
Use the TextImageRelation property to define or determine the relative placement of the image with respect to the text on a ToolStripItem. Items that lack an image, text, or both are treated as special cases so that the ToolStripItem does not display a blank spot for the missing element or elements.
.NET Framework
Available since 2.0
Available since 2.0
Show: