ColumnHeaderContextMenu Property

GridView.ColumnHeaderContextMenu Property


Gets or sets a ContextMenu for the GridView.

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

public ContextMenu ColumnHeaderContextMenu { get; set; }

Property Value

Type: System.Windows.Controls.ContextMenu

The ContextMenu for the column headers in a GridView. The default value is null.

This property represents one of several ways to lay out and style column headers. For more information, see GridView Column Header Styles and Templates Overview.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft