Search code examples
c#.netsilverlightexpression-blend

Using callouts in Expression Blend + Silverlight


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?


Solution

  • I got the solution. It's like this:

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