|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
ToolStripLabel-Klasse
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.ToolStripItem
System.Windows.Forms.ToolStripLabel
System.Windows.Forms.ToolStripStatusLabel
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Der ToolStripLabel-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() | ToolStripLabel() | |
![]() | ToolStripLabel(Image) | |
![]() | ToolStripLabel(String) | |
![]() | ToolStripLabel(String, Image) | |
![]() | ToolStripLabel(String, Image, Boolean) | |
![]() | ToolStripLabel(String, Image, Boolean, EventHandler) | |
![]() | ToolStripLabel(String, Image, Boolean, EventHandler, String) |
| Name | Beschreibung | |
|---|---|---|
![]() | AccessibilityObject | |
![]() | AccessibleDefaultActionDescription | |
![]() | AccessibleDescription | |
![]() | AccessibleName | |
![]() | AccessibleRole | |
![]() | ActiveLinkColor | |
![]() | Alignment | |
![]() | AllowDrop | |
![]() | Anchor | |
![]() | AutoSize | |
![]() | AutoToolTip | |
![]() | Available | |
![]() | BackColor | |
![]() | BackgroundImage | |
![]() | BackgroundImageLayout | |
![]() | Bounds | |
![]() | CanRaiseEvents | |
![]() | CanSelect | |
![]() | Container | |
![]() | ContentRectangle | |
![]() | DefaultAutoToolTip | |
![]() | DefaultDisplayStyle | |
![]() | DefaultMargin | |
![]() | DefaultPadding | |
![]() | DefaultSize | |
![]() | DesignMode | |
![]() | DismissWhenClicked | |
![]() | DisplayStyle | |
![]() | Dock | |
![]() | DoubleClickEnabled | |
![]() | Enabled | |
![]() | Events | |
![]() | Font | |
![]() | ForeColor | |
![]() | Height | |
![]() | Image | |
![]() | ImageAlign | |
![]() | ImageIndex | |
![]() | ImageKey | |
![]() | ImageScaling | |
![]() | ImageTransparentColor | |
![]() | IsDisposed | |
![]() | IsLink | |
![]() | IsOnDropDown | |
![]() | IsOnOverflow | |
![]() | LinkBehavior | |
![]() | LinkColor | |
![]() | LinkVisited | |
![]() | Margin | |
![]() | MergeAction | |
![]() | MergeIndex | |
![]() | Name | |
![]() | Overflow | |
![]() | Owner | |
![]() | OwnerItem | |
![]() | Padding | |
![]() | Parent | |
![]() | Placement | |
![]() | Pressed | |
![]() | RightToLeft | |
![]() | RightToLeftAutoMirrorImage | |
![]() | Selected | |
![]() | ShowKeyboardCues | |
![]() | Site | |
![]() | Size | |
![]() | Tag | |
![]() | Text | |
![]() | TextAlign | |
![]() | TextDirection | |
![]() | TextImageRelation | |
![]() | ToolTipText | |
![]() | Visible | |
![]() | VisitedLinkColor | |
![]() | Width |
| Name | Beschreibung | |
|---|---|---|
![]() | CreateAccessibilityInstance | |
![]() | CreateObjRef | |
![]() | Dispose() | |
![]() | Dispose(Boolean) | |
![]() | DoDragDrop | |
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | GetCurrentParent | |
![]() | GetHashCode | |
![]() | GetLifetimeService | |
![]() | GetPreferredSize | |
![]() | GetService | |
![]() | GetType | |
![]() | InitializeLifetimeService | |
![]() | Invalidate() | |
![]() | Invalidate(Rectangle) | |
![]() | IsInputChar | |
![]() | IsInputKey | |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | |
![]() | OnAvailableChanged | |
![]() | OnBackColorChanged | |
![]() | OnBoundsChanged | |
![]() | OnClick | |
![]() | OnDisplayStyleChanged | |
![]() | OnDoubleClick | |
![]() | OnDragDrop | |
![]() | OnDragEnter | |
![]() | OnDragLeave | |
![]() | OnDragOver | |
![]() | OnEnabledChanged | |
![]() | OnFontChanged | |
![]() | OnForeColorChanged | |
![]() | OnGiveFeedback | |
![]() | OnLayout | |
![]() | OnLocationChanged | |
![]() | OnMouseDown | |
![]() | OnMouseEnter | |
![]() | OnMouseHover | |
![]() | OnMouseLeave | |
![]() | OnMouseMove | |
![]() | OnMouseUp | |
![]() | OnOwnerChanged | |
![]() | OnOwnerFontChanged | |
![]() | OnPaint | |
![]() | OnParentBackColorChanged | |
![]() | OnParentChanged | |
![]() | OnParentEnabledChanged | |
![]() | OnParentForeColorChanged | |
![]() | OnParentRightToLeftChanged | |
![]() | OnQueryContinueDrag | |
![]() | OnRightToLeftChanged | |
![]() | OnTextChanged | |
![]() | OnVisibleChanged | |
![]() | PerformClick | |
![]() | ProcessCmdKey | |
![]() | ProcessDialogKey | |
![]() | ProcessMnemonic | |
![]() | ResetBackColor | Infrastruktur. |
![]() | ResetDisplayStyle | Infrastruktur. |
![]() | ResetFont | Infrastruktur. |
![]() | ResetForeColor | Infrastruktur. |
![]() | ResetImage | Infrastruktur. |
![]() | ResetMargin | Infrastruktur. |
![]() | ResetPadding | Infrastruktur. |
![]() | ResetRightToLeft | Infrastruktur. |
![]() | ResetTextDirection | Infrastruktur. |
![]() | Select | |
![]() | SetBounds | |
![]() | SetVisibleCore | |
![]() | ToString |
| Name | Beschreibung | |
|---|---|---|
![]() | AvailableChanged | |
![]() | BackColorChanged | |
![]() | Click | |
![]() | DisplayStyleChanged | |
![]() | Disposed | |
![]() | DoubleClick | |
![]() | DragDrop | |
![]() | DragEnter | |
![]() | DragLeave | |
![]() | DragOver | |
![]() | EnabledChanged | |
![]() | ForeColorChanged | |
![]() | GiveFeedback | |
![]() | LocationChanged | |
![]() | MouseDown | |
![]() | MouseEnter | |
![]() | MouseHover | |
![]() | MouseLeave | |
![]() | MouseMove | |
![]() | MouseUp | |
![]() | OwnerChanged | |
![]() | Paint | |
![]() | QueryAccessibilityHelp | |
![]() | QueryContinueDrag | |
![]() | RightToLeftChanged | |
![]() | TextChanged | |
![]() | VisibleChanged |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | IDropTarget.OnDragDrop | |
![]() ![]() | IDropTarget.OnDragEnter | |
![]() ![]() | IDropTarget.OnDragLeave | |
![]() ![]() | IDropTarget.OnDragOver |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; public class Form1 : Form { private ToolStripLabel toolStripLabel1; private ToolStrip toolStrip1; public Form1() { InitializeComponent(); } [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } private void InitializeComponent() { this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(292, 25); this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // toolStripLabel1 // this.toolStripLabel1.IsLink = true; this.toolStripLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(71, 22); this.toolStripLabel1.Tag = "http://search.microsoft.com/search/search.aspx?"; this.toolStripLabel1.Text = "Search MSDN"; this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click); // // Form1 // this.ClientSize = new System.Drawing.Size(292, 273); this.Controls.Add(this.toolStrip1); this.Name = "Form1"; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } private void toolStripLabel1_Click(object sender, EventArgs e) { ToolStripLabel toolStripLabel1 = (ToolStripLabel)sender; // Start Internet Explorer and navigate to the URL in the // tag property. System.Diagnostics.Process.Start("IEXPLORE.EXE", toolStripLabel1.Tag.ToString()); // Set the LinkVisited property to true to change the color. toolStripLabel1.LinkVisited = true; } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.
