[This is preliminary documentation and is subject to change.]
Perform click event on specified item of LinkLabel
Namespace: Tools.WindowsT.FormsTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public virtual void PerformClick( LinkLabel..::..LinkItem Item, MouseButtons button ) |
| Visual Basic |
|---|
Public Overridable Sub PerformClick ( _ Item As LinkLabel..::..LinkItem, _ button As MouseButtons _ ) |
| Visual C++ |
|---|
public: virtual void PerformClick( LinkLabel..::..LinkItem^ Item, MouseButtons button ) |
| F# |
|---|
abstract PerformClick : Item:LinkLabel..::..LinkItem * button:MouseButtons -> unit override PerformClick : Item:LinkLabel..::..LinkItem * button:MouseButtons -> unit |
| JScript |
|---|
public function PerformClick( Item : LinkLabel..::..LinkItem, button : MouseButtons ) |
Parameters
- Item
- Type: Tools.WindowsT.FormsT..::..LinkLabel..::..LinkItem
Item on which perform the click
- button
- Type: System.Windows.Forms..::..MouseButtons
Mouse button to be simulated
Remarks
Causes raising Click and LinkClicked events
MouseDown, MouseUp and MouseClick events are not raised
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Item is null |
| System..::..ArgumentOutOfRangeException | Item not found in the Items collection |
| System..::..InvalidOperationException | Item found in the Items colletion but not found as LinkData in the Links collection. Note: This is internal error of LinkLabel and thus should not be thrown if LinkLabel is implemented properly. Do not change value of LinkData or this exception will be thrown though there is no bug in LinkLabel. |