DataGridViewColumnHeaderCell::DataGridViewColumnHeaderCellAccessibleObject::DefaultAction Property
.NET Framework (current version)
Gets a string that describes the default action of the DataGridViewColumnHeaderCell::DataGridViewColumnHeaderCellAccessibleObject.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::String^A string that describes the default action of the DataGridViewColumnHeaderCell::DataGridViewColumnHeaderCellAccessibleObject
If the DataGridViewColumnHeaderCell belongs to a column with a SortMode property value of Automatic, this property returns the string "Press to sort column". If the SelectionMode property of the DataGridView control has a value of FullColumnSelect or ColumnHeaderSelect, this property returns the string "Press to select column". If neither of these conditions is present or the DataGridViewColumnHeaderCell does not currently belong to a column, this property returns Empty.
.NET Framework
Available since 2.0
Available since 2.0
Show: