編集

次の方法で共有


ToolStripItem.TextImageRelation Property

Definition

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