menu

Blazor

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

    Show / Hide Table of Contents

    Class BackstageItemClickEventArgs

    Provides data about the BackstageItemClick event triggered when a backstage menu item is clicked in the SfRibbon component.

    Inheritance
    System.Object
    BackstageItemClickEventArgs
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BackstageItemClickEventArgs : Object
    Remarks

    This event is used to perform actions or prevent default behavior when a user clicks on a backstage menu item.

    Constructors

    BackstageItemClickEventArgs()

    Declaration
    public BackstageItemClickEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the event should be canceled.

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

    A boolean value that, when set to true, cancels the event. The default value is false.

    Remarks

    Set this property to true to prevent the default action associated with the click event from occurring. This can be used to stop further processing or navigation when a Backstage item is clicked.

    IsBackButton

    Gets a value indicating whether the clicked item is a Back button.

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

    A boolean value that returns true if the clicked item is the Back button; otherwise, false.

    Remarks

    This property helps identify if the user clicked on the Back button, which can be useful for handling navigation or specific actions related to the Back button.

    MenuItem

    Gets the model of the menu item that was clicked.

    Declaration
    public BackstageMenuItem MenuItem { get; set; }
    Property Value
    Type Description
    BackstageMenuItem

    The model of the clicked item, represented as a BackstageMenuItem.

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