mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Update comments
This commit is contained in:
parent
9db1987ee5
commit
754e185c5d
20 changed files with 83 additions and 48 deletions
|
|
@ -27,7 +27,9 @@ namespace MapControl
|
|||
|
||||
private static void DataPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.NewValue != null && !ReferenceEquals(e.NewValue, e.OldValue)) // Data is actually a new Geometry
|
||||
// Check if Data is actually a new Geometry.
|
||||
//
|
||||
if (e.NewValue != null && !ReferenceEquals(e.NewValue, e.OldValue))
|
||||
{
|
||||
var path = (MapPath)obj;
|
||||
var data = (Geometry)e.NewValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue