Introducing Microsoft Windows Presentation Foundation (Avalon)

Windows Presentation Foundation (formerly code named Avalon) is the Microsoft unified presentation subsystem for Windows, consisting of a display engine and a managed-code framework. Windows Presentation Foundation unifies how Windows creates, displays, and manipulates documents, media, and the user interface, enabling developers and designers to create visually stunning, personalized user experiences that improve the application connection with the user.

XAML, a markup language to represent user interfaces declaratively for Windows applications, will also be introduced with Windows Presentation Foundation, improving the richness of the tools for composing and repurposing user interfaces. For Web developers, XAML provides a familiar UI description paradigm. XAML also enables the separation of UI design from the underlying code, enabling developers and designers to work more closely.

Using XAML, Creating a Button is as simple as

<Button Width="100"> OK
<Button.Background>
LightBlue
</Button.Background>
</Button>


As we can see, XAML extends the power of XML and makes declarative programming which is very useful for reducing the amount of work done currently for server side programming.

Also, you can attach events to the XAML Button and have an associated Codebehind in C# or VB.NET, whatever may be

XAML Declaration
<Button Click="Button_Click">Click Me!</Button>

C# code-behind file
void Button_Click(object sender, System.Windows.Controls.ClickEventArgs e)
{
btn1.Background = System.Windows.Media.Brushes.Red;
}

For developers and designers, Windows Presentation Foundation provides a unified UI platform, such that they can learn a single paradigm which provides limitless possibilities of UI experiences.

Avalon leverages on WinFX which is the next set of APIs which will be available in Windows Vista (Longhorn) and the power of XAML to render powerful rich graphics to improve the user experience.

More information can be found at
Create the Experience

Windows Presentation Foundation and Windows Vista surely will provide a new experience of Development / Usability for the years to come.

Print | posted on Tuesday, August 30, 2005 10:38 AM

Comments on this post

# re: Introducing Microsoft Windows Presentation Foundation (Avalon)

Requesting Gravatar...
thanks admin.. good post.
Left by mario oyunları on Jan 08, 2010 3:21 AM

Your comment:

 (will show your gravatar)