28 lines
1.4 KiB
XML
28 lines
1.4 KiB
XML
<UserControl x:Class="OliviaAddInPro.DockPaneConfigView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:ui="clr-namespace:OliviaAddInPro"
|
|
xmlns:viewModel="clr-namespace:OliviaAddInPro"
|
|
xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
|
|
xmlns:view="clr-namespace:OliviaAddInPro"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="300"
|
|
d:DataContext="{Binding Path=viewModel.DockpaneConfigViewModel}">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<DataTemplate DataType="{x:Type viewModel:PaneConfigViewModel}">
|
|
<view:PaneConfigView />
|
|
</DataTemplate>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<ScrollViewer Height="Auto">
|
|
|
|
<ContentPresenter Content="{Binding CurrentPage}"></ContentPresenter>
|
|
|
|
</ScrollViewer>
|
|
</UserControl> |