Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
How to select ultralistview items on right click and remove selection when clicked on empty space of the listview
posted

   The system.listview has this behavior but i can't implement this in ultralistview . For selecting the items on right click I have done this in the MouseDown_Event

 if (e.Button == System.Windows.Forms.MouseButtons.Right)
            {
                Point mousePoint = new Point(e.X, e.Y);
                Infragistics.Win.UIElement element = ((UltraListView)sender).UIElement.ElementFromPoint(mousePoint);
            }

 I can get what element was clicked from the Infragistics.Win.UIElement but how can I find which item was clicked and make it appear selected?

Parents Reply Children
No Data