WPF Cant Click on Ellipse VisualizationLayer

2 posts, 0 answers
  1. Sebastian
    Sebastian avatar
    9 posts
    Member since:
    Feb 2014

    Posted 06 Mar Link to this post


    i have a radmap in WPF have VisualizationLayer.I can Click on Ellipse only if i change zoom.

    I want to click to ellipse after  running program without change zoom.Can i do it?


    Behind code:

    asd.SelectionChanged += VisualizationLayer_SelectionChanged;



     <telerik:VisualizationLayer  x:Name="asd" ItemSelectionMode="MouseClick" VirtualizationSource="{Binding}"  Loaded="Znaki_Loaded" >
                                <telerik:Pinpoint  Width="15" Height="15" BorderBrush="Black" Background="White"  Tag="{Binding Name}" MouseLeftButtonDown="Ellipse_MouseLeftButtonDown"  telerik:MapLayer.Location="{Binding Location}">
                                    <telerik:HotSpot X="0.5" Y="0.5" />
                                        <ToolTip Content="{Binding Name}"/>
                        <telerik:AsyncSqlGeospatialDataReader x:Name="asyncSqlGeospatialDataReaderZnaki"                                                            
                                                      ToolTipFormat="Name" />


  2. Dinko
    Dinko avatar
    899 posts

    Posted 08 Mar Link to this post

    Hello Sebastian,

    Thank you for the provided code snippet.

    Looking at this code snippet I wasn't able to find something suspicious that could prevent the item to be clicked. I have double check this on my side and MouseLeftButtonDown event is called as expected when I click on a circle. May I ask you to elaborate more on your application setup? This way I could try to mimic your implementation on my side to reproduce this behavior and get to the bottom of this.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top