I'm brand new to learning Silverlight/XAML/C#.
I'm using an ASP.NET function to pass a string parameter to a Silverlight App. Currently I'm using the following code to simply verify that it works when the Silverlight App is loaded:
<Grid x:Name="LayoutRoot">
<StackPanel>
<TextBlock x:Name="txtIP" />
</StackPanel>
</Grid>
How do I set up an element that's "behind the scenes" that doesn't necessarily display in the XAML? I thought about simply hiding the TextBlock, but I imagine there's a better way.