DataGridViewRowHeaderCell::DataGridViewRowHeaderCellAccessibleObject::DoDefaultAction Method ()

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

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

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: