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