DataGridViewLinkCell::DataGridViewLinkCellAccessibleObject::DoDefaultAction Method ()
.NET Framework (current version)
Performs the default action of the DataGridViewLinkCell::DataGridViewLinkCellAccessibleObject.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The cell returned by the Owner property has a DataGridView property value that is not null and a RowIndex property value of -1, indicating that the cell is in a shared row. |
The DoDefaultAction method navigates to the link provided in the DataGridViewLinkCell.
SecurityPermission
to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
.NET Framework
Available since 2.0
Available since 2.0
Show: