在 Expression Blend 中使用标注银光
我有一个使用标注的 Expression Blend+Silverlight 应用程序。现在我想在单个标注中的指定持续时间后显示多个字符串。但我无法以编程方式设置标注的 ContentProperty - 它会引发异常。
那么我应该使用多个标注来显示多个字符串,还是有什么方法可以在运行时更改标注中的字符串内容?
I have an Expression Blend+Silverlight application that makes use of callouts. Now I want to show several strings each after a specified duration within a single callout. But I can't set the ContentProperty of the callout programmatically - it's throwing an exception.
So should I go in for multiple callouts to display multiple strings or is there any way I can change the string content within a callout at runtime?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我得到了解决方案。就像这样:
this.callout.Content = new TextBlock { Text = "whatever text" };
I got the solution. It's like this:
this.callout.Content = new TextBlock { Text = "whatever text" };