problem about xname-Collection of common programming errors


  • justin.m.chase
    c# .net wpf xaml xname
    I am generating some Xaml based on some other source of input. In some cases I am generating x:Name values but they have invalid characters. I found this article on MSDN:XamlName GrammarWhich describes the grammar of a x:Name tag but doesn’t tell me how to actually apply this. Clearly there is some code to validate this name at runtime but what is the easiest way to actually fix up a string with invalid characters?

  • MrSilverlight
    javascript silverlight uid xname
    I am trying to obtain the <RowDefinitions> element from my Xaml, through Javascript, so I can add new <RowDefinition> elements to it at runtime. This way, if a user inputs the number ’20’, then 20 <RowDefinition> elements will be added to <RowDefinitions>.The problem is that <RowDefinitions> does not have a possibility for x:Name. It only has x:uid. So would it be possible to fetch the uid from within Javascript? I need the <RowDefinitions> Element one way or

Web site is in building