mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Avalonia MapItemsControl
This commit is contained in:
parent
39e00b30d9
commit
e9e0393074
11 changed files with 206 additions and 68 deletions
|
|
@ -2,6 +2,24 @@
|
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:map="clr-namespace:MapControl">
|
||||
|
||||
<!-- Style replaced by TemplateProperty and ItemsPanelProperty default value overrides -->
|
||||
<!--
|
||||
<Style Selector="map|MapItemsControl">
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate>
|
||||
<ItemsPresenter ItemsPanel="{TemplateBinding ItemsPanel}"/>
|
||||
</ControlTemplate>
|
||||
</Setter>
|
||||
<Setter Property="ItemsPanel">
|
||||
<Setter.Value>
|
||||
<ItemsPanelTemplate>
|
||||
<map:MapPanel/>
|
||||
</ItemsPanelTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
-->
|
||||
|
||||
<Style Selector="map|MapContentControl">
|
||||
<Setter Property="Background" Value="{Binding Background, RelativeSource={RelativeSource AncestorType=map:MapBase}}"/>
|
||||
<Setter Property="BorderBrush" Value="{Binding Foreground, RelativeSource={RelativeSource AncestorType=map:MapBase}}"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue