I am using [Prism](http://compositewpf.codeplex.com/) for navigation in my WPF MVVM application. I register my view as follows.

```cs
// MyView is the data type of the view I want to register and "MyView"
// is the name by which I want the data type to be identified within
// the IoC container.
_container.RegisterType<object, MyView>("MyView");

```

I display this view as follows.

```cs
_regionManager.RequestNavigate(
    "MyRegion", // This is the name of the Region where the view should be displayed.
    "MyView" // This is the registered name of the view in the IoC container.
);

```

Elsewhere in the application, I need to remove this view in an event handler; however, the following code returns an `ArgumentNullException`.

```cs
_regionManager.Regions["MyRegion"].Remove(
    _regionManager.Regions["MyRegion"].GetView("MyView")
);

```

This indicates that the `RequestNavigate` method does not add `MyView` to `MyRegion` using the name "MyView". I know that if I were to use the `_regionManager.Add(MyView, "MyView")` method, the `GetView` method would not return null. Unfortunately, `RequestNavigate` does not seem to handle the view name in the same way. Is there any way to remove a view (by name) from a region when the view was added using the `RequestNavigate` method?