How to get the information of the ParentBarItem's item that was selected?

Hello Syncfusion Staff,

I am using the XpToolBar's ParentBarItem in my application, but I cannot retrieve the information of the clicked item. Please, could you indicate me how to do it?, if possible, would you mind including an example?.

Thank you,

Tomas 


1 Reply

VR Vijayalakshmi Roopkumar Syncfusion Team August 4, 2021 01:31 PM UTC

Hi Tomas 
 
Thank you for contacting Syncfusion Support. 
 
We have checked the reported requirement that you want to get information of selected parentBarItem. For this requirement , you can use the Selected event of respective ParentBarItem. 
 
Code:[C#] 
 
 
private void ParentBarItem1_Selected(object sender, System.EventArgs e) 
{ 
MessageBox.Show("Item selected"); 
} 
 
 
 
 
Please let us know if you need any other assistance on this. 
 
Regards, 
Vijayalakshmi VR 


Loader.
Up arrow icon