Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
自動的に呼び出されるか実行される拡張機能を作成することは可能ですか?
.
System.Windows.Controlこの拡張マニュアルを呼び出すことなく、初期化後にいくつかのロジックを実行する必要がありますControl.myExtension();
System.Windows.Control
Control.myExtension();
私のコメントを回答に変換する:
クラス レベルのイベント ハンドラ
ただし、目的によっては、良いアイデアである場合とそうでない場合があります。