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

How can I set placement of popup to "MousePoint"?

0 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SPE
Top achievements
Rank 1
SPE asked on 01 Dec 2011, 03:34 AM


Here's my snippet.

 <Popup x:Name="parentPopup"
               telerik:PopupExtensions.PlacementTarget="{Binding ElementName=accountGridView}"
               telerik:PopupExtensions.Placement="MousePoint"
               telerik:PopupExtensions.StaysOpen="False">


I expected that this popup should be opened at the same position of mousepoint.

However, If I do not set the PlacementTarget property, it throws an exception (target null).

And, when I set the position, like above snippet, the position of popup changes time to time.

Moreover, I cannot understand why I should set the PlacementTarget property when I use "Placement=MousePoint".


How can I use this property?

Thank you in advance.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
SPE
Top achievements
Rank 1
Share this question
or