問題タブ [childcontrol]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
wpf - WPFのMainWindowのすべてのコントロールの列挙子またはコレクションを取得するには?
Grids、GroupBoxes、TabControls を持つ MainWindow があり、それぞれに Chidren、Content、または Items として他のコントロールがあります。MainWindow の各コントロールの列挙子または全員のコレクションを取得する方法があるかどうかを知りたいです。
Example.jpgのようなデザイナーの例を次に示します。
他の投稿でいくつかの例を見てきましたが、それらはすべて MainWindow に子コントロールしかない場合にのみ機能します。
あなたの助けに感謝します。