DataGridColumnHeader.OnClick Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the Click event and initiates sorting.
protected:
 override void OnClick();protected override void OnClick();override this.OnClick : unit -> unitProtected Overrides Sub OnClick ()Remarks
This method is called when the header is clicked.