Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SilverLight 4: what does the "x:" stand for in an XAML file?

Posted on 2011-02-10
3
Medium Priority
?
508 Views
Last Modified: 2012-05-11
Hi Experts:

    I am developing SilverLight 4 applications with Visual Studio 2010.
    In the XAML tags there are some attributes start with "x:" (see the attached screenshoot). I understand that the word like "xmlns:" has the meaning of "XML Name Space" and it is used to define name spaces. Then what does "x:" mean? Any information/reference about how "x:" works will be appriciated.
    Thank you.
XamlSample.png
0
Comment
Question by:huangs3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34866408
It is a namespace prefix. It states that that specific element belongs to a particular namespace. In your example the "x" prefix corresponds to the:
      http://schemas.microsoft.com/winfx/2006/xaml

Open in new window

namespace.
0
 

Author Comment

by:huangs3
ID: 34876100
Hi carl tawn:

    Then how does the elements in this particular namespace hook up with the elements in the XAML? For example, for <Application.Resources> element, only x:Uid is available, but for <Grid> element, x:FieldModifier, x:Name and x:Uid are all available?
    Thankyou.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 34876125
Maybe this will help explain the relationship:

    http://msdn.microsoft.com/en-us/library/ms747086.aspx
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question