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

1 posts, 0 answers
  1. SPE
    SPE avatar
    36 posts
    Member since:
    Sep 2010

    Posted 30 Nov 2011 Link to this post

    Here's my snippet.

     <Popup x:Name="parentPopup"
                   telerik:PopupExtensions.PlacementTarget="{Binding ElementName=accountGridView}"

    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.

Back to Top