DataGridColumnHeader::OnClick Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the Click event and initiates sorting.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnClick() override

This method is called when the header is clicked.

.NET Framework
Available since 4.0
Return to top
Show: