How to pass a parameter to silverlight so that it is behind the scenes,

I am new to learning Silverlight / XAML / C #.

I am using the ASP.NET function to pass a string parameter to a Silverlight application. I'm currently using the following code to just make sure it works when loading a Silverlight application:

<Grid x:Name="LayoutRoot">
    <StackPanel>
        <TextBlock x:Name="txtIP" />
    </StackPanel>
</Grid>

How to configure an item that is behind the scenes, which is not necessarily displayed in XAML? I thought about just hiding the TextBlock, but I think the best way.

+3
source share
2 answers

Silverlight, initParams . ASPNET, .

0

, initParams Silverlight, Tim InitParams : Silverlight.

, , Tim , , Silverlight: IP- Silverlight .

0

Source: https://habr.com/ru/post/1716612/


All Articles