1

I'm sure this question is elementary understanding of Silverlight and has probably been asked several times before, but I'm having trouble finding search terms for what I'm looking for.

In several views I have to implement something visual to warn the user that there's no connection. What I want to do is define a stackpanel or grid with content, that I can use in several views. I want to have a central place to define how it appears in all my views. So if I want to add an illustration I only have to do that one place.

<StackPanel>
   <Image />
   <TextBlock Text="No WIFI etc. etc." />
</StackPanel>

What am i missing?

numerodos
  • 51
  • 1

1 Answers1

2

You should put these things into a UserControl and then reference the UserControl whenever you need the content

thumbmunkeys
  • 20,606
  • 8
  • 62
  • 110