ToolStripItem.TextImageRelation Właściwość

Definicja

Pobiera lub ustawia położenie ToolStripItem tekstu i obrazu względem siebie.

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

Wartość właściwości

Jedna z TextImageRelation wartości. Wartość domyślna to ImageBeforeText.

Uwagi

TextImageRelation Użyj właściwości , aby zdefiniować lub określić względne rozmieszczenie obrazu w odniesieniu do tekstu w obiekcie ToolStripItem. Elementy, które nie mają obrazu, tekstu lub obu, są traktowane jako przypadki specjalne, dzięki czemu ToolStripItem nie wyświetla pustego miejsca dla brakującego elementu lub elementów.

Dotyczy