mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +00:00
Added MapBase.MapLayerItemsSource property
This commit is contained in:
parent
0b5d1e439f
commit
2194f08a74
6 changed files with 275 additions and 70 deletions
|
|
@ -5,8 +5,6 @@ using Windows.UI.Xaml;
|
|||
using Microsoft.UI.Xaml;
|
||||
#endif
|
||||
|
||||
#pragma warning disable IDE0060 // Remove unused parameter
|
||||
|
||||
namespace MapControl
|
||||
{
|
||||
public static class DependencyPropertyHelper
|
||||
|
|
@ -15,8 +13,7 @@ namespace MapControl
|
|||
string name,
|
||||
Type ownerType,
|
||||
TValue defaultValue = default,
|
||||
Action<FrameworkElement, TValue, TValue> changed = null,
|
||||
bool inherits = false) // unused in WinUI/UWP
|
||||
Action<FrameworkElement, TValue, TValue> changed = null)
|
||||
{
|
||||
var metadata = changed == null
|
||||
? new PropertyMetadata(defaultValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue