Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Silverlight 2.0 in Examples: Part 1 - Silverlight Elements: Panels and Controls

, 24 Sep 2008 CPOL
part 1 of silverlight 2.0 tutorial
<UserControl x:Class="ButtonSample.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Button 
            x:Name="MyButton"
            Width="150"
            Height="25"
            Content="Clicked 0 Times"/>
    </Grid>
</UserControl>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Nick Polyak
Architect AWebPros
United States United States
I have 15 years of experience developing enterprise software, starting from C++ and Java on UNIX and moving towards C# on Windows platforms.
I am fascinated by the new .NET technologies especially WPF, Silverlight and LINQ.
Recently I decided to make a move and start my own contracting consulting and mentoring company AWebPros.
I can be contacted via my web site awebpros.com or through my blog at nickssoftwareblog.com

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 24 Sep 2008
Article Copyright 2008 by Nick Polyak
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid