开发者

UserControl VisualStates do not appear in Blend

The States pane in Blend 4 does not appear to show the VisualStates declared on a UserControl using the Template开发者_开发问答VisualState attribute. Is this to be expected and if so why? Creating the States manually in Blend seems to work correctly.


User controls aren't typically designed to be modified or re-templated the same way that regular controls are.

Most of the time where you want a control to be editable and offer alternative animations (through the states panel for instance) you're going to want to build something that derives from a proper custom control type.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜