StatusStrip.ShowItemToolTips Propiedad

Definición

Obtiene o establece un valor que indica si se muestra información sobre herramientas para StatusStrip.Gets or sets a value indicating whether ToolTips are shown for the StatusStrip.

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

Valor de propiedad

Es true si se muestra información sobre herramientas para el control StatusStrip; de lo contrario, es false.true if ToolTips are shown for the StatusStrip; otherwise, false. De manera predeterminada, es false.The default is false.

Ejemplos

En el ejemplo de código siguiente StatusStrip se muestra un con varias propiedades comunes establecidas ShowItemToolTips , incluida la propiedad.The following code example demonstrates a StatusStrip with various common properties set, including the ShowItemToolTips property.

statusStrip1.Dock = System.Windows.Forms.DockStyle.Top;
statusStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
toolStripStatusLabel1});
statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
statusStrip1.Location = new System.Drawing.Point(0, 0);
statusStrip1.Name = "statusStrip1";
statusStrip1.ShowItemToolTips = true;
statusStrip1.Size = new System.Drawing.Size(292, 22);
statusStrip1.SizingGrip = false;
statusStrip1.Stretch = false;
statusStrip1.TabIndex = 0;
statusStrip1.Text = "statusStrip1";
statusStrip1.Dock = System.Windows.Forms.DockStyle.Top
statusStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible
statusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {toolStripStatusLabel1})
statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow
statusStrip1.Location = New System.Drawing.Point(0, 0)
statusStrip1.Name = "statusStrip1"
statusStrip1.ShowItemToolTips = True
statusStrip1.Size = New System.Drawing.Size(292, 22)
statusStrip1.SizingGrip = False
statusStrip1.Stretch = False
statusStrip1.TabIndex = 0
statusStrip1.Text = "statusStrip1"

Comentarios

Use la ShowItemToolTips propiedad para obtener o establecer ToolTip el comportamiento de presentación.Use the ShowItemToolTips property to get or set ToolTip display behavior.

Se aplica a