Advanced Forum Search Results
-
BeginInvoke should not block the UI thread. It is executed asynchronously.
-
This seems to work just fine for me. Here is what I tried: If yours is different, please send me your snippet and I can take a look at it.
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
-
Hi Rajeev,
I am discussing this offline with some internal folks. No promises on the outcome of the discussion.
"none of the workarounds or suggestions are fruitful when your XAML contains x:Name attributes and event handlers."
For x:Name if you want to add it to the existing namescope, just strip off the root from the tree ...
-
Hi David,
Thanks for reporting this. This is indeed a bug and I have filed it in our database.
I noticed that this only repros when listbox is on the top of the stack. If you move further down in the stackpanel, focus seems to work fine.
-
But in your example above why do I have to do root.Children.Remove(realRoot); ?
So that it has only one parent.
-
hi Nirav
I used the sample from http://msdn.microsoft.com/en-us/library/system.windows.controls.textblock.linestackingstrategy.aspx, but ported to silverlight. The output is the same.
<StackPanel>
<!-- This TextBlock has a LineStackingStrategy set to "MaxHeight". -->
<TextBlock ...
-
This should just work if your datagrid is bound to an ObservableCollection as the datasource. If not, then your collection will need to implement InotifyCollectionChanged.
-
I have forwarded your feedback to some internal folks.
To ease your pain with keeping track of large number of separate namescopes, here is a suggestion.XamlReader.Load always creates a new name scope. So if you want those named items to join an existing name scope, strip out the root:
Panel root = (Panel) ...
-
Hi Jack,
XamlReader.Load does not create a new namescope. You should use LoadComponent for the user control.
I have added info in another post http://silverlight.net/forums/p/17513/58338.aspx#58338
-
I am unable to repro this. The text does render fine and wraps fine. It does not show up one character per line. Are you doing something special? Can you share your project so that I can investigate some more? You can mail to adrianmaATmicrosoftDOTcom.