RadzenPanelMenu - we need a flag that shows where the click was -> on the Text or submenu arrow #998

Open
opened 2026-01-29 17:47:32 +00:00 by claunia · 0 comments
Owner

Originally created by @Andrey-2021 on GitHub (Oct 4, 2023).

Hi!
Please add on
MenuItemEventArgs args
flags:

  1. args.IsTextClicked - shows that there was a click on Text
  2. args.IsSubmenuArrowClicked - shows that there was a click on tex on submenu arrow

void OnParentClicked(MenuItemEventArgs args)
{
if( args.IsTextClicked) ....
if(args.IsSubmenuArrowClicked ....
console.Log($"{args.Text} clicked from parent");
}

Thanks.

image

Originally created by @Andrey-2021 on GitHub (Oct 4, 2023). Hi! Please add on MenuItemEventArgs args flags: 1) args.IsTextClicked - shows that there was a click on Text 2) args.IsSubmenuArrowClicked - shows that there was a click on tex on submenu arrow <RadzenPanelMenu Click="OnParentClicked" Style="width:300px" Multiple="@multiple"> void OnParentClicked(MenuItemEventArgs args) { if( args.IsTextClicked) .... if(args.IsSubmenuArrowClicked .... console.Log($"{args.Text} clicked from parent"); } Thanks. ![image](https://github.com/radzenhq/radzen-blazor/assets/92442252/76fc67f2-c489-493f-8001-35bcc3ae8277)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#998