23 lines
696 B
C#
23 lines
696 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace MainShell.Resources.CustomControl
|
|
{
|
|
public partial class MagazineMapControl : UserControl
|
|
{
|
|
public static readonly DependencyProperty MapViewModelProperty =
|
|
DependencyProperty.Register(nameof(MapViewModel), typeof(MagazineMapViewModel), typeof(MagazineMapControl), new PropertyMetadata(null));
|
|
|
|
public MagazineMapViewModel MapViewModel
|
|
{
|
|
get { return (MagazineMapViewModel)GetValue(MapViewModelProperty); }
|
|
set { SetValue(MapViewModelProperty, value); }
|
|
}
|
|
|
|
public MagazineMapControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
}
|
|
}
|