// インスタンス作成
 public static EditModeMapAreaInnerViewModel CreateInstance(
     MapAreaInnerView mapAreaInnerView,
     EditModeViewModel parent)
 {
     var instance = new EditModeMapAreaInnerViewModel();
     instance.Parent = parent;
     instance.SetView(mapAreaInnerView);
     return instance;
 }
Esempio n. 2
0
 public void SetView(
     MapAreaInnerView mapAreaInnerView)
 {
     View = mapAreaInnerView;
     View.SetViewModel(this);
 }
 public EditModeMapAreaOuterPanel()
 {
     InitializeComponent();
     MapAreaInnerView = new MapAreaInnerView();
     ScrollGrid.Children.Add(MapAreaInnerView);
 }