System.Windows.Forms.ToolStripItem.TextImageRelation Property

Gets or sets the position of System.Windows.Forms.ToolStripItem text and image relative to each other.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.TextImageRelation.ImageBeforeText)]
[System.ComponentModel.Localizable(true)]
public TextImageRelation TextImageRelation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripItem.TextImageRelation property to define or determine the relative placement of the image with respect to the text on a System.Windows.Forms.ToolStripItem. Items that lack an image, text, or both are treated as special cases so that the System.Windows.Forms.ToolStripItem does not display a blank spot for the missing element or elements.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0