GridViewHeaderRowPresenter.ColumnHeaderContextMenu Property
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 column headers.
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
The ContextMenu for the column header row. The default is null
.
When you implement this class as part of a GridView view mode, the value of this property is bound to the value of the ColumnHeaderContextMenu property on the GridView.
You can customize column headers in a GridView view mode by using a variety of properties that are found in this class and in related classes. For more information about these properties, and about the precedence between them, see GridView Column Header Styles and Templates Overview.
Identifier field | ColumnHeaderContextMenuProperty |
Metadata properties set to true |
None |
Ürün | Sürümler |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: