Now I'm not stumped on getting data binding to work, I simply want to know how to utilize the window interfaces that visual studio 2010 comes with - as opposed to typing in XAML. All I want to do is bind a font size property to an xml file within the project.
Here's what I do: After selecting the text box, in the properties panel, i go to the text category then click on the data-binding icon next to the font size field. I then click on 'apply data binding', where a small panel pops up. This is where I become stuck. It seems like I need a path to the xml file, but I don't know how to add that in without typing in XAML. I would assume that I would be able to add in a resource somewhere - kind of like windows forms allow me to do.
I've never worked with WPF before, so I know it's something small/simple that i'm missing. Any help would be appreciated.
thanks,
Phil
PhilPosted Sep 2, 2010, 9:26 AM
steve phillipsPosted Sep 2, 2010, 1:14 AM
I think, XAML parser understands how you have phrase and instantiate many of the WPF framework classes and it's start in using a custom data source is to associate an XML namespace with a CLR namespace and using a custom Bind the first textBlock directly to the string and use a Path for the second textBlock to show the second char in namespace for a custom assembly. thanks .
_____________________________________________________________