Added PushpinBorder

This commit is contained in:
Clemens 2022-02-01 22:21:30 +01:00
parent d03439f355
commit ebd0bdf216
3 changed files with 196 additions and 23 deletions

View file

@ -82,11 +82,13 @@
<EventSetter Event="TouchDown" Handler="MapItemTouchDown"/>
<Setter Property="AutoCollapse" Value="True"/>
<Setter Property="Location" Value="{Binding Location}"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Bottom"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="map:MapItem">
<map:Pushpin Content="{Binding Name}"/>
<map:Pushpin Content="{Binding Name}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
</ControlTemplate>
</Setter.Value>
</Setter>