Closed kingcean closed 3 years ago
And of course, all headers of these menu items can be modified by setting the related properties.
The WPF controls project targets .NET 5, .NET Core 3.1 and .NET Framework 4.6 now. And I have enhanced the member method GoTo
to support DiffPiece
instance as parameter as well as the zero-based line index already supported.
Line context menu
Allow you copy a specific line from context menu.
Applied to following controls.
DiffPlex.Wpf.Controls.DiffViewer
DiffPlex.Wpf.Controls.SideBySideDiffViewer
DiffPlex.Wpf.Controls.InlineDiffViewer
View mode context menu
You can right click the header to popup the context menu to select following actions.
Applied to following controls.
DiffPlex.Wpf.Controls.DiffViewer
WinForms demo
This PR also updates the WinForms demo by WPF element host implementation as I mentioned in #51 issue. It can be used in control or window of WinForms project and looks exactly as same as the one in WPF.