Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

ColumnHeaderContextMenuProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft