Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
XamMap Panning problem in latest release
posted

Hi,

I am encountering an exception while panning XamMap control. I worked with 2010.2 build earlier it was working fine. But in the latest release 2010.3 I am getting an exception, details are as follows.

Message: Element is already the child of another element.

Stack Trace: at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, DependencyObject doh)
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
   at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
   at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
   at System.Windows.Controls.ToolTipService.ConvertToToolTip(Object o)
   at System.Windows.Controls.ToolTipService.RegisterToolTip(UIElement owner, Object toolTip)
   at System.Windows.Controls.ToolTipService.OnToolTipPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)

 

also attaching the screen shot of the incident.

 

Thanks,

Sudheer CV

Parents
  • 2505
    Offline posted

    Hi Sudheer,

    Would you please provide some sample code where you get the exception on (XAML and\or Code Behind)? This will make it easier to investigate the issue.

    Thanks,

    Milana Zhileva

Reply Children