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

Posted on 2011-02-10
Medium Priority
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.
Question by:huangs3
  • 2
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:

Open in new window


Author Comment

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?
LVL 52

Accepted Solution

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


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This article describes and provides a custom-made tool I wrote to give businesses a means of identifying commercial music content, without having to expend too much effort. Business recordings are easily identified from possibly illegal music files …
Starting up a Project
Screencast - Getting to Know the Pipeline

619 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