ListView.ColumnReordered Event
.NET Framework 2.0
Note: This event is new in the .NET Framework version 2.0.
Occurs when the column header order is changed.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
'Declaration Public Event ColumnReordered As ColumnReorderedEventHandler 'Usage Dim instance As ListView Dim handler As ColumnReorderedEventHandler AddHandler instance.ColumnReordered, handler
/** @event */ public void add_ColumnReordered (ColumnReorderedEventHandler value) /** @event */ public void remove_ColumnReordered (ColumnReorderedEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
The ColumnReordered event is a cancelable event and can be canceled by handling the event and setting the Cancel property to true. However, if the event is canceled, the NewDisplayIndex of the ColumnReorderedEventArgs will not change to the OldDisplayIndex value.
For more information about handling events, see Consuming Events.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: