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.
Blend 4 中的“状态”窗格似乎没有显示使用 TemplateVisualState 属性在 UserControl 上声明的 VisualStates。这是意料之中的吗?如果是,为什么?在 Blend 中手动创建状态似乎可以正常工作。
用户控件通常不会像常规控件那样被设计为修改或重新模板化。
大多数情况下,您希望控件可编辑并提供替代动画(例如通过状态面板),您将希望构建从适当的自定义控件类型派生的东西。