// インスタンス作成 public static EditModeMapAreaInnerViewModel CreateInstance( MapAreaInnerView mapAreaInnerView, EditModeViewModel parent) { var instance = new EditModeMapAreaInnerViewModel(); instance.Parent = parent; instance.SetView(mapAreaInnerView); return instance; }
public void SetViewModel( EditModeMapAreaInnerViewModel editModeMapAreaViewModel) { EditModeMapAreaInnerViewModel = editModeMapAreaViewModel; DataContext = EditModeMapAreaInnerViewModel; }