Advanced Forum Search Results
-
JustinAngel - What do you mean by:
"We'd like to give you the option of running your Silverlight XAML on the desktop through WPF and adding features on changing the XAML API breaks that ability."
Are you talking about some future goal? Or is something that can be done already?
How will it handle Silverlight Tookit controls ...
-
There is a WPF DataGrid as part of the WPF Toolkit that was released through the CodePlex WPF site.
http://www.codeplex.com/wpf
Click on the WPF Toolkit link to download.
-
Super. Works great!
-
Super. Work great!
-
How can I stretch the width of a Line to fill the width of the StackPanel in which it is a child element?
Here is how I can do it in WPF:
<Line X1="0" X2="{Binding Path=ActualWidth, ElementName=HolePatternStackPanel}" Stroke="Gray" StrokeThickness="1"></Line>
But that does not work in ...
-
OK, then. At least that sounds like you've made a definitive statement. I'll assume you know for sure about that.
But you're not off the hook yet... Answer this: Is it the case that declaring these things in the UserControl.Resources actually creates an instance of them? Surely it must, since I am then able to use them ...
-
Yep. That's how I do it now.
*But*, I want to know how to do it in XAML.
I want to see someone explain to me how to set a DataContext binding in XAML that does not rely on a StaticResource. I want to use XAML to bind to an object which is a property on the ViewModel. It's easy to do from the constructor, but I want to see ...
-
Sure. But, you didn't answer the question...
What XAML syntax to use for the DataContext setting on the Grid and StackPanel to bind to the objects instantiated in the constructor, becuase I don't want to declare the objects in the UserControl.Resources.
-
I've seen tons of examples of how to create objects from classes in UserControl.Resrouces and then use setting the DataContext of various elements link to those StaticResources... Like this: <UserControl.Resources>
<local:Customer x:Key="Cust">
<local:Supplier ...
-
In Silverlight XAML, I think I've just realized that a DataContext declaration on a nested container is relative to the parent container's DataContext. Can you all please confirm.
If so, then let me ask this: On a child XAML container element (i.e. StackPanel) how would you would jump out of that relative DataContext tree, and start at a ...