The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a UI that allows the user to delete a GroupViewItem from the GroupView control using a context/popup menu. I''d like to select the button that is being deleted when the right mouse click occurs. The following HitTest works but is one button off. (e.g. right click on button three selects button two, click two to select one etc). Any thoughts?
private void groupFolders_MouseDown(object sender, MouseEventArgs e)
{
AccessibleObject obj = this.groupFolders.AccessibilityObject.HitTest(e.X,e.Y) ;
if (obj != null && obj.Role == AccessibleRole.ListItem)
{
obj.Select(AccessibleSelection.TakeSelection) ;
}
}
ADAdministrator Syncfusion Team August 15, 2005 02:44 AM UTC
Hi Daniel,
You could use the GroupView''s PointToItem method for this purpose. Let me know if this meets your requirements. We appreciate your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.