ToolStrip.ShowItemToolTips Özellik
Tanım
public:
property bool ShowItemToolTips { bool get(); void set(bool value); };
public bool ShowItemToolTips { get; set; }
member this.ShowItemToolTips : bool with get, set
Public Property ShowItemToolTips As Boolean
Özellik Değeri
true
Araç Ipuçları görüntülenir; Aksi takdirde, false
.true
if ToolTips are to be displayed; otherwise, false
. Varsayılan değer: true
.The default is true
.
Örnekler
Aşağıdaki kod örneği, için otomatik metni kapatır ToolTip ToolStripButton ve özel ToolTip metin ayarlar.The following code example turns off the automatic ToolTip text for a ToolStripButton and sets custom ToolTip text. Bu örnek, özelliğinde bulunan daha büyük bir örneğin bir parçasıdır AutoToolTip .This example is part of a larger example available in the AutoToolTip property.
this.toolStripButton1.AutoToolTip = false;
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Text = "Button1";
this.toolStripButton1.ToolTipText = "ToolTip for Button1.";
Me.toolStripButton1.AutoToolTip = False
Me.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
Me.toolStripButton1.Name = "toolStripButton1"
Me.toolStripButton1.Text = "Button1"
Me.toolStripButton1.ToolTipText = "ToolTip for Button1."
Açıklamalar
ShowItemToolTipsIçin araç ipuçlarının görüntülenip görüntülenmeyeceğini anlamak için özelliğini kullanın ToolStripItem .Use the ShowItemToolTips property to determine whether ToolTips are displayed for the ToolStripItem.