second
second

Reputation: 28637

c# separate context menu for listview header

How do i assign a separate context menu to the column headers of a listview in c#?

Upvotes: 4

Views: 2184

Answers (1)

Grammarian
Grammarian

Reputation: 6882

ObjectListView (an open source wrapper around .NET WinForms ListView) has an ColumnRightClick event. The demo shows how to show a menu in response to that event.

Upvotes: 2

Related Questions