ToolStripItem.TextImageRelation 屬性

定義

取得或設定 ToolStripItem 的文字和影像彼此之間的相對位置。

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

屬性值

其中一個 TextImageRelation 值。 預設值為 ImageBeforeText

備註

TextImageRelation使用 屬性來定義或決定影像相對於 上 ToolStripItem 文字的相對位置。 缺少影像、文字或兩者的專案都會被視為特殊案例, ToolStripItem 讓 不會顯示遺漏專案或元素的空白位置。

適用於