DependencyPropertyHelper

This commit is contained in:
ClemensFischer 2024-05-23 19:21:28 +02:00
parent bc12b388de
commit b7afd27c91
7 changed files with 21 additions and 19 deletions

View file

@ -50,7 +50,7 @@ namespace MapControl.UiTools
}
public static readonly DependencyProperty MapProperty =
DependencyPropertyHelper.Register<MapLayersMenuButton, MapBase>(nameof(Map), null, false,
DependencyPropertyHelper.Register<MapLayersMenuButton, MapBase>(nameof(Map), null,
(button, oldValue, newValue) => button.InitializeMenu());
public MapBase Map

View file

@ -45,7 +45,7 @@ namespace MapControl.UiTools
}
public static readonly DependencyProperty MapProperty =
DependencyPropertyHelper.Register<MapProjectionsMenuButton, MapBase>(nameof(Map), null, false,
DependencyPropertyHelper.Register<MapProjectionsMenuButton, MapBase>(nameof(Map), null,
(button, oldValue, newValue) => button.InitializeMenu());
public MapBase Map