This documentation is archived and is not being maintained.

ColumnClickEventArgs Class

Provides data for the ColumnClick event.

For a list of all members of this type, see ColumnClickEventArgs Members.


[Visual Basic]
Public Class ColumnClickEventArgs
   Inherits EventArgs
public class ColumnClickEventArgs : EventArgs
public __gc class ColumnClickEventArgs : public EventArgs
public class ColumnClickEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The ColumnClickEventArgs class provides the zero-based index within the ListView.ColumnHeaderCollection class of the column that is clicked in the ListView control. You can use this information in an event handler for the ColumnClick event to determine which column is being clicked to perform tasks on the data within the column.


Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

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

See Also

ColumnClickEventArgs Members | System.Windows.Forms Namespace | ListView | ColumnClick