menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct ShortcutTextBox.KeyState - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct ShortcutTextBox.KeyState

    Defines a structure that provides information about the key state.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.Windows.Forms.Edit.Dialogs
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public struct KeyState

    Fields

    Alt

    Specifies the Alt key state.

    Declaration
    public bool Alt
    Field Value
    Type
    System.Boolean

    Ctrl

    Specifies the Ctrl key state.

    Declaration
    public bool Ctrl
    Field Value
    Type
    System.Boolean

    Key

    Specifies the pressed key state.

    Declaration
    public Keys Key
    Field Value
    Type
    System.Windows.Forms.Keys

    Shift

    Specifies the Shift key state.

    Declaration
    public bool Shift
    Field Value
    Type
    System.Boolean

    Win

    Specifies the windows key state.

    Declaration
    public bool Win
    Field Value
    Type
    System.Boolean

    Properties

    KeyCombination

    Gets the keys combination.

    Declaration
    public Keys KeyCombination { get; }
    Property Value
    Type
    System.Windows.Forms.Keys
    Remarks

    Win key is not modifier so it can not be set as a modifier in resulting combination.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved