When I click on the ultalistview's scrollbar the control's click event is called. That stupid. How does a click event handler for the ultralistview control distinguish whether the click came from clicking on the scrollbar or the click came from clicking on an item in the control
Hello,
Thank you for your feedback. Please let me know if you need my further assistance on this matter or I may close this case.
Please let me know if you have any further questions.
ok
Sounds good
The question is how to I determine if the click in the listview's view itself that displays the list view items.
I am not interested if the click was on an item, I need to know if the click was applied in the view of the listview.
Click event is firing when the control is clicked . The scrollbar is a component of the control so it is expected to get click event, if you click onto scrollbar. If you want to determine if the customer clicks onto an item you could use one of the following events:ItemActivated, ItemActivating.If you want to determine the exactly the element on which the customer has clicked, you could use ElementFromPoint() (ultraListView1.UIElement.ElementFromPoint(point)) method in order to get the exact UI element on the specific location (based on the left corner of the component).