Monday, August 9, 2010

Introduction to WPF

WPF is a consolidation of previously used presentation technologies including Windows forms, GDI+, Windows Media player and DirectX.

- common and standardized technology that can be used for both windows and web applications.

XAML
eXtensible Application Markup Language

-is an XML grammar that is used to define objects and their contained properties and methods that are typically used to construct a UI.
- can be used to define 2D and 3D graphics.
-just like other .Net and web technologies, you can create XAMl documents by using any text editor and manipulate XAML by using virtually any programming language.
-XAML is case sensitive.
- All XAML docs must have a single root, or document-level element.

Attribute syntax:
<Button Background = "Red" />

Property element syntax:
<Window.Background>
<LinearGradientBrush>
----
----
----
</Window.Background>

No comments:

Post a Comment