property View.LastView as View
Gets the last view.

TypeDescription
View A View object that indicates the last view.
The following properties can be used to access a view:

The ActiveView property gets the active view ( the last view with any active items inside ). The DefaultView property specifies the default view on the control. The View property returns the default view, in case it is not called during an event. During any event, the View property returns the view where the event occurs.