开发者

Using callouts in Expression Blend + Silverlight

开发者 https://www.devze.com 2023-02-14 13:25 出处:网络
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 ContentP

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 开发者_JAVA百科multiple callouts to display multiple strings or is there any way I can change the string content within a callout at runtime?


I got the solution. It's like this:

this.callout.Content = new TextBlock { Text = "whatever text" };

0

精彩评论

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