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
1440
Click on scroll bar in ultralistview and the click event for the control is called. WHY?
posted

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

Parents
  • 48586
    Suggested Answer
    posted

    Hello,

    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).

    Please let me know if you have any further questions.

  • 1440
    posted in reply to Hristo Goshev

    ok

Reply Children
No Data