このレイアウトにアタッチされている各 View オブジェクトを含む ViewCollection を戻します。このプロパティはアクティブなレイアウトでのみ使用できます。
// 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 );
} |