-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy pathVirtualKeyboardRequestedEventArgs.cs
More file actions
38 lines (34 loc) · 1.21 KB
/
VirtualKeyboardRequestedEventArgs.cs
File metadata and controls
38 lines (34 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 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
{
/// <summary>
/// Event arguments for the VirtualKeyboardRequested Event.
/// </summary>
/// <seealso cref="EventArgs" />
public class VirtualKeyboardRequestedEventArgs : EventArgs
{
/// <summary>
/// Input mode of a virtual keyboard. When <see cref="TextInputMode.None"/>
/// the keyboard should be hidden
/// </summary>
public TextInputMode TextInputMode { get; private set; }
/// <summary>
/// Browser
/// </summary>
public IBrowser Browser { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="VirtualKeyboardRequestedEventArgs"/> class.
/// </summary>
/// <param name="browser">browser</param>
/// <param name="inputMode">input mode</param>
public VirtualKeyboardRequestedEventArgs(IBrowser browser, TextInputMode inputMode)
{
Browser = browser;
TextInputMode = inputMode;
}
}
}