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.
LightSwitch スクリーンのコントロール コレクションを取得する方法はありますか?
次のような簡単なもの:
Me.Controls
これにより、次の画面が表示されます。
Dim control = Application.Current.RootVisual
ただし、画面上のほとんどのコントロールには名前が付けられておらず、ビジュアル ツリーのテキスト ブロックから参照する必要があります。
次のスレッド (ユーザー samneric1) を見てください。ここでは、画面上のメニュー項目の 1 つを非表示にする必要がありました....
http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/194b53eb-0e21-49a6-9312-c640bf53d659/
スティーブ