Declined
Last Updated: 21 Jun 2018 14:49 by ADMIN
Aleksandar
Created on: 24 Apr 2018 20:51
Category: Map
Type: Feature Request
0
Map: Can't bind to BingRestMapProvider Mode
I can't bind to the Mode property of the BingRestMapProvider. The BingRestMapProvider is not part of the visual tree. This worked in Silverlight and I thought it worked in previous version of WPF as well.
1 comment
ADMIN
Petar Mladenov
Posted on: 25 Apr 2018 07:56
Aleksandar,

BingRestMapProvider can be defined in XAML via the Provider or Providers properties of the RadMap but does not automatically take the DataContext of the RadMap. Yes, it is not part of the visual tree and it has no visual parts at all. You need to manually set its DataContext or bind it to the DataCotnext of the RadMap. In Silverlight this probably works automatically because of the differences between WPF and Silverlight XAML parsers.