DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.DefaultAction Property


Gets a string that represents the default action of the DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.

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

public override string DefaultAction { get; }

Property Value

Type: System.String

A description of the default action.

The DefaultAction property contains the string "Press to check" if the check box is not selected, the string "Press to uncheck" if the check box is selected, and an empty string ("") if the DataGridViewCheckBoxCell is read-only.

.NET Framework
Available since 2.0
Return to top