menu

Blazor

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

    Show / Hide Table of Contents

    Class EventArgs

    Interface for open and close events.

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

    Constructors

    EventArgs()

    Declaration
    public EventArgs()

    Properties

    Cancel

    Determines whether the current action needs to be prevented or not.

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

    true, if the event should be canceled. Otherwise, false.

    Element

    Returns the element reference.

    Declaration
    public ElementReference Element { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.ElementReference

    An ElementReference object representing the element reference for the Blazor Sidebar component.

    IsInteracted

    Defines the boolean that returns true when the Sidebar is closed by user interaction, otherwise returns false.

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

    true, if the sidebar is closed by user interaction. Otherwise, false.

    Left

    Specifies the clientX position of the target element.

    Declaration
    public Nullable<double> Left { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Accepts the double value.

    Name

    Returns the event name.

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

    Accepts the string value.

    Top

    Specifies the clientY position of the target element.

    Declaration
    public Nullable<double> Top { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Accepts the double value.

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