GridView.ColumnHeaderContextMenu Property

 
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.

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: