GridView.ColumnHeaderContextMenu Property
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.