Introduction to XAML
page 5 of 9
by Keyvan Nayyeri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 38468/ 513

XAML Elements

I said each XAML element represents a .NET CLR class.  Most XAML elements are inherited from System.Windows.UIElement, System.Windows.FrameworkElement, System.Windows.FrameworkContentElement and System.Windows.ContentElement.  There are not any XAML elements that correspond to abstract classes in .NET CLR, but there are tons of XAML elements that are corresponded to classes that are inherited from these abstract classes.

We have four general kinds of XAML elements.

·         Root elements: Windows and Page elements are the most common root elements that you will use.  These elements sit as the root element for your XAML files and contain other elements.

·         Panel elements: These elements help you to lay out your user interface.  Common panel elements are StackPanel, DockPanel, Grid and Canvas.

·         Control elements: These elements define several types of controls in XAML and let you put a control on your UI and customize it.

·         Geometric elements: This kind of elements helps you to draw shapes and geometric graphics on your UI.  There are many Geometric elements such as LineGeometry, EllipseGeometry, PathGeometry and LineSegment.

·         Document elements: These elements are helpful when you want to deal with presentation of a document.  Inline and Block elements are two major groups of these elements that help out to make your desired look for a document.  Some famous Inline elements are Bold, LineBreak and Italic and some famous Block elements are Paragraph, List, Block, Figure and Table.  Compare these elements with some HTML elements such as <p>, <table> and <i>.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 1 and 2 and type the answer here:

User Comments

Title: Good   
Name: Palani
Date: 10/23/2008 7:56:26 AM
Comment:
I m interest in ASP.NET. Contact my no 9600478244
Title: Good Article!!   
Name: Tanvir Ehsan
Date: 9/18/2008 4:24:42 AM
Comment:
Thanks Author Keep continuing to such quick learning guide for the beginner!!
Title: Fine   
Name: M.S. Feroz
Date: 9/2/2008 2:09:20 AM
Comment:
Excellent article for beginner. thanks
Title: Good article for biginner   
Name: Bhavesh patel
Date: 4/11/2007 8:47:02 AM
Comment:
Good article for biginner
Title: My point of View Of XAML   
Name: Zaheer Ahmed
Date: 1/20/2007 5:11:49 AM
Comment:
hi i m software engineer and currently i m working on VS.NET 2.0 and i wana switch to 3.0 this article help me to know wht is XAML Thanx
Title: Events in Windows Presentation Foundation   
Name: Keyvan Nayyeri
Date: 12/14/2006 10:22:36 AM
Comment:
Fifth part of these tutorials about Events in Windows Presentation Foundation:
http://aspalliance.com/1088_Events_in_Windows_Presentation_Foundation
Title: Animations in XAML   
Name: Keyvan Nayyeri
Date: 10/25/2006 12:36:09 AM
Comment:
Fourth part of these tutorials about Animations in XAML:
http://aspalliance.com/1050_Animations_in_XAML
Title: Resources in XAML   
Name: Keyvan Nayyeri
Date: 10/12/2006 12:58:37 AM
Comment:
Third part of these tutorials about Resources in XAML:
http://aspalliance.com/1032_Resources_in_XAML
Title: Layout in XAML   
Name: Keyvan Nayyeri
Date: 10/9/2006 2:07:52 PM
Comment:
Second part of these tutorials about Layout in XAML:
http://aspalliance.com/1023_Layout_in_XAML
Title: Thanks   
Name: Keyvan Nayyeri
Date: 10/5/2006 1:54:25 AM
Comment:
Thank you. I think I have many items there ;-)
Title: Added to NetFXGuide.com   
Name: Francesco
Date: 10/5/2006 1:43:36 AM
Comment:
Hi, I just added your intro to the XAML Section of NetFXGuide.com (http://www.netfxguide.com/guide/xaml.aspx).

Best,

Francesco
NetFXGuide.com

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 1/7/2009 10:52:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search