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