Creating Your First Silverlight 2 App: Listing 1. Defining Silverlight 2 controls in XAML.

<UserControl x:Class="FirstSilverlight2Application.Page"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White" 
        <StackPanel Orientation="Horizontal">
            <TextBlock x:Name="tbName" Text="Name" Margin="5" 
              Height="20" />
            <TextBox x:Name="txtName"  Width="100" Height="20" />
            <Button x:Name="btnSubmit" Content="Submit" Height="20" 
              Margin="10" />
comments powered by Disqus
Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.