Returns a ViewCollection containing each View object attached to this layout. This property is only available on the active layout.
// get accessor ViewCollection rtn = Layout.Views; |
// Log all active views
var desktop = Application.Desktop;
var views = desktop.ActiveLayout.Views;
for( i=0; i<views.Count; i++) {
Application.LogMessage( views(i).FullName );
}
|