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 Screen 的控件集合?
像这样简单的东西:
Me.Controls
这将为您提供以下屏幕:
Dim control = Application.Current.RootVisual
虽然,屏幕上的大多数控件都没有命名,并且需要在可视化树中被它们的文本块引用。
看看下面的线程(用户 samneric1),我需要在屏幕上隐藏其中一个菜单项......
http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/194b53eb-0e21-49a6-9312-c640bf53d659/
史蒂夫