Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ToolStripItem.TextImageRelation Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
ToolStripItem.cs
Source:
ToolStripItem.cs
Source:
ToolStripItem.cs
Source:
ToolStripItem.cs
Source:
ToolStripItem.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property System::Windows::Forms::TextImageRelation TextImageRelation { System::Windows::Forms::TextImageRelation get(); void set(System::Windows::Forms::TextImageRelation value); };
public System.Windows.Forms.TextImageRelation TextImageRelation { get; set; }
member this.TextImageRelation : System.Windows.Forms.TextImageRelation with get, set
Public Property TextImageRelation As TextImageRelation

Property Value

One of the TextImageRelation values. The default is ImageBeforeText.

Remarks

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.

Applies to


Feedback

Was this page helpful?