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
360
UltraCombo right click ?
posted

I have a ultra with an editor button added to the control .  I need a way to determine when  a user right clicks on the editor button.  Does anyone have any ideas on how to accomplish this?

 

Thanks

John

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi John,

    You can do this using UIElements.  Take a look in the Infragistics Knowledge Base and do a search for "ElementFromPoint". There are lot of articles that describe how to get a part of a control based on the position of the mouse. 

    In this case, what you would do is use ultraCombo.UIElement.ElementFromPoint to get a UIElement. If it's not null, then call GetContext on that UIElement and pass in a type of EditorButton.

Children
No Data