This is a migrated thread and some comments may be shown as answers.

Group Element Mouse Events

1 Answer 91 Views
Panorama
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 09 Dec 2011, 03:40 PM
Hi

Is there a way to capture a mouse event on a tilegroupelement ? I have tried the obvious but it doesn't fire any events that I could see.

Thanks in advance for any help.


Regards


Paul.

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 13 Dec 2011, 04:49 PM
Hello Paul,

Thank you for your question.

To enable the mouse events for the group element, you need to set its ShouldHandleMouseInput property to true. You need to do this in the code behind since it is not going to work if you set it through the designer:
public Form1()
{
    InitializeComponent();
    tileGroupElement1.ShouldHandleMouseInput = true;
}

As of the next official release, this property will be set to true by default. Your Telerik points have been updated for bringing this to our attention.

Should you have any future questions, do not hesitate to contact us.

Greetings,
Ivan Todorov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
Panorama
Asked by
Paul
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or