alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class KeyEventArgs

    Notifies while performing the key actions.

    Inheritance
    object
    KeyEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class KeyEventArgs
    Examples
    <SfDiagramComponent Width = "1000px" Height="1000px" KeyUp="@OnKeyUp">
    </SfDiagramComponent>
    @code
    {
        private void OnKeyUp(KeyEventArgs args)
        {
    
        }
    }

    Constructors

    KeyEventArgs()

    Declaration
    public KeyEventArgs()

    Properties

    Element

    Returns the selected element of the diagram.

    Declaration
    public IDiagramObject? Element { get; }
    Property Value
    Type
    IDiagramObject

    Key

    Returns the value of the key action.

    Declaration
    public string? Key { get; }
    Property Value
    Type
    string

    KeyCode

    Returns a number that represents the actual key pressed.

    Declaration
    public int KeyCode { get; }
    Property Value
    Type
    int

    KeyModifiers

    Returns any modifier keys that were pressed when the flick gesture occurred.

    Declaration
    public ModifierKeys KeyModifiers { get; }
    Property Value
    Type
    ModifierKeys
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved