// Copyright © 2019 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using CefSharp.Enums; namespace CefSharp.Wpf { /// /// Event arguments for the VirtualKeyboardRequested Event. /// /// public class VirtualKeyboardRequestedEventArgs : EventArgs { /// /// Input mode of a virtual keyboard. When /// the keyboard should be hidden /// public TextInputMode TextInputMode { get; private set; } /// /// Browser /// public IBrowser Browser { get; private set; } /// /// Initializes a new instance of the class. /// /// browser /// input mode public VirtualKeyboardRequestedEventArgs(IBrowser browser, TextInputMode inputMode) { Browser = browser; TextInputMode = inputMode; } } }