Skip to main content

Microsoft Silverlight

Unanswered Question x:UidRSS Feed

(0)

jamesnw
jamesnw

Member

Member

17 points

31 Posts

x:Uid

What is the point of x:Uid in Silverlight...or is there one? If so, how would I even go about reading this from controls?

___________________________________________________________________________________________
To repeat what others have said, requires education; to challenge it, requires brains.
Mary Pettibone Poole, A Glass Eye at a Keyhole, 1938

elmore.adam
elmore.adam

Member

Member

482 points

67 Posts

Re: x:Uid

It is used as a unique identifier for localization. Read more here.

--
Kind Regards

Adam Elmore
MCTS: WPF, WCF

417.200.4261
elmore.adam@gmail.com
http://adamelmore.net/

jamesnw
jamesnw

Member

Member

17 points

31 Posts

Re: x:Uid

 I already read that, doesn't mean anything to me. What does "localization" mean in the context of Silverlight? Knowing what it is doesn't explain the reason why it's there, and why, although I can set it, there's no way, in code, to utilize it (at least, not in Silverlight).

___________________________________________________________________________________________
To repeat what others have said, requires education; to challenge it, requires brains.
Mary Pettibone Poole, A Glass Eye at a Keyhole, 1938

elmore.adam
elmore.adam

Member

Member

482 points

67 Posts

Re: x:Uid

Localization means the same thing in Silverlight as it does in any other context.. making your solution work across language and cultural barriers. The x:Uid attribute is used during the localization process but as a developer you would simply use it to provide a page-level, unique identifier for a particular element (or property, as explained in the above documentation). If this doesn't mean anything to you, don't concern yourself with it.

--
Kind Regards

Adam Elmore
MCTS: WPF, WCF

417.200.4261
elmore.adam@gmail.com
http://adamelmore.net/

jamesnw
jamesnw

Member

Member

17 points

31 Posts

Re: x:Uid

I think getting to understand it will allow me to decide whether or not to be concerned with it. What exactly is this "localization process" you are referring to? I still don't see the usefulness of it. Perhaps a real-world example?

___________________________________________________________________________________________
To repeat what others have said, requires education; to challenge it, requires brains.
Mary Pettibone Poole, A Glass Eye at a Keyhole, 1938
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities