admin
2020-06-10 a610f2ab6e543d2cb78c1ef212ac6a74ddc067d9
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
// Copyright © 2014 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.
 
namespace CefSharp
{
    /// <summary>
    /// KeyType Enum.
    /// Maps to https://magpcss.org/ceforum/apidocs3/projects/(default)/cef_key_event_type_t.html
    /// </summary>
    public enum KeyType
    {
        /// <summary>
        /// Notification that a key transitioned from"up" to"down".
        /// </summary>
        RawKeyDown = 0,
        /// <summary>
        /// Notification that a key was pressed. This does not necessarily correspond to a character depending on the key and language.
        /// Use <seealso cref="Char"/> for character input.
        /// </summary>
        KeyDown,
        /// <summary>
        /// Notification that a key was released.
        /// </summary>
        KeyUp,
        /// <summary>
        /// Notification that a character was typed. Use this for text input. Key
        /// down events may generate 0, 1, or more than one character event depending
        /// on the key, locale, and operating system.
        /// </summary>
        Char,
    };
}