Editar

Compartir a través de


GridView.ColumnHeaderContextMenu Property

Definition

Gets or sets a ContextMenu for the GridView.

public:
 property System::Windows::Controls::ContextMenu ^ ColumnHeaderContextMenu { System::Windows::Controls::ContextMenu ^ get(); void set(System::Windows::Controls::ContextMenu ^ value); };
public System.Windows.Controls.ContextMenu ColumnHeaderContextMenu { get; set; }
member this.ColumnHeaderContextMenu : System.Windows.Controls.ContextMenu with get, set
Public Property ColumnHeaderContextMenu As ContextMenu

Property Value

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

Remarks

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.

Dependency Property Information

Identifier field ColumnHeaderContextMenuProperty
Metadata properties set to true None

Applies to