BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Srinivasan,
Thank you for using Syncfusion products,
We would like to let you know that we can access the BarItem
as shown in the below code snippet and also
we have prepared a sample for your reference and it is attached below.
Code Snippet[C#]:
popupMenu1.ParentBarItem.Items[0].Click
+= new EventHandler(Form1_Click); void Form1_Click(object sender, EventArgs
e) { MessageBox.Show((sender
as BarItem).Text.ToString()); } |
Please let us know if you need further assistance,
Regards,
R.Senthil kumaran
Hi Srinivasan,
Thanks for your update,
As we have explained in our previous update, In PopupMenu
child BarItems collection is maintained its ParentBarItem Items collection.
Each of BarItem can be accessed from its Items collection.
Code Snippet[C#]:
//BarItem stored in Items
collection popupMenu1.ParentBarItem.Items[0].Click
+= new EventHandler(Form1_Click); void Form1_Click(object
sender, EventArgs e) {
MessageBox.Show((sender as BarItem).Text.ToString());
} |
If we have misunderstood
your query, can you please share us more details about this requirement? That
will be helpful for us to analyze and provide you a prompt solution.
Regards,
Ashwini