DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.DoDefaultAction Method ()

 
Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public override void DoDefaultAction()

The DoDefaultAction method selects the row if the DataGridView.SelectionMode property is set to FullRowSelect or RowHeaderSelect.

SecurityPermission

to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: