Class GroupButtonClickEventArgs
Provides information about the ItemClick event callback.
Inheritance
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class GroupButtonClickEventArgs : Object
Remarks
Use this event to handle logic before a group button item is clicked, allowing for cancellation or custom operations.
Constructors
GroupButtonClickEventArgs()
Declaration
public GroupButtonClickEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the click action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Set this property to prevent the default click behavior for a group button item.
CurrentItem
Gets or sets the group button item that is clicked.
Declaration
public GroupButtonItem CurrentItem { get; set; }
Property Value
Type | Description |
---|---|
GroupButtonItem | A GroupButtonItem representing the clicked item within the group button. |
Remarks
This property represents the item that the user interacted with during the event.
PreviousItems
Gets the previously selected group button items.
Declaration
public List<GroupButtonItem> PreviousItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupButtonItem> | A list of GroupButtonItem representing the previously selected items. |
Remarks
Use this property to understand which items were selected prior to the current event.
SelectedItems
Gets the currently selecting group button items.
Declaration
public List<GroupButtonItem> SelectedItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupButtonItem> | A list of GroupButtonItem representing the items currently being selected. |
Remarks
Use this property to access the list of items that are intended to be selected in the group button.