Rediger

Del via


DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.DefaultAction Property

Definition

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

public:
 virtual property System::String ^ DefaultAction { System::String ^ get(); };
public override string DefaultAction { get; }
member this.DefaultAction : string
Public Overrides ReadOnly Property DefaultAction As String

Property Value

A description of the default action.

Exceptions

.NET 5 and later versions: The Owner property is null.

Remarks

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.

Applies to

See also