mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
24 lines
445 B
C#
24 lines
445 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace CefSharp.Wpf.Example.Handlers
|
|
{
|
|
|
|
public class MenuHandler : IMenuHandler
|
|
{
|
|
|
|
public bool OnBeforeContextMenu(IWebBrowser browser, IContextMenuParams parameters)
|
|
{
|
|
|
|
Console.WriteLine("Context menu opened");
|
|
Console.WriteLine(parameters.MisspelledWord);
|
|
|
|
return true;
|
|
}
|
|
|
|
|
|
}
|
|
}
|