Class BackstageItemClickEventArgs
Provides data about the BackstageItemClick event triggered when a backstage menu item is clicked in the SfRibbon component.
Inheritance
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 |
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 |
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. |