property View.ActiveView as View
Gets the active view.

TypeDescription
View A View object that specifies the active view ( the last view with any active items inside ).
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. The CreateView event is fired as soon as the control creates a new view. The Items property retrieves the view' items collection. The Columns property retrieves the view's columns collection.

The following properties can be used to access a view: