menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NodeKeyPressEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NodeKeyPressEventArgs

    Provides information about the OnKeyPress event callback.

    Inheritance
    System.Object
    NodeKeyPressEventArgs
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class NodeKeyPressEventArgs : Object

    Constructors

    NodeKeyPressEventArgs()

    Declaration
    public NodeKeyPressEventArgs()

    Properties

    Action

    Gets or sets the Key Action of Event.

    Declaration
    public string Action { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    Cancel

    Gets or sets whether the key press action should be cancelled or not.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if key press action should be canceled. Otherwise, false.

    Event

    Gets the actual event.

    Declaration
    public KeyboardEventArgs Event { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.Web.KeyboardEventArgs

    A Microsoft.AspNetCore.Components.Web.KeyboardEventArgs object representing the keyboard event associated with the current action.

    Key

    Gets the Key value of Event.

    Declaration
    public string Key { get; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    Name

    Gets or sets the 'NodeKeyPress' Event name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

    NodeData

    Gets or sets the current active node as JSON object from data source.

    Declaration
    public NodeData NodeData { get; set; }
    Property Value
    Type Description
    NodeData

    The JSON object representing the current active node in the TreeView's data source.

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