DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.DoDefaultAction Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Performs the default action of the DataGridViewTopLeftHeaderCell.

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 calls the DataGridView.SelectAll method.


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

.NET Framework
Available since 2.0
Return to top