Questions tagged [xmldataprovider]

provides data binding from XML in Microsoft Windows Presentation Foundation (WPF) 4

MSDN links

81 questions
0
votes
1 answer

WPF: Sorting an XMLdataprovider at runtime

Good day! I've working quite some time to create my own HTPC app that basicly allows me to simply browse and play my movie collection. I wrote another little app the indexes everything and prepares an XML file with the layout you see below. It's all…
Johan Verbelen
  • 349
  • 1
  • 4
  • 7
0
votes
1 answer

Displaying a specific node from an XML file, on a textbox

I have an xml file that looks something like this 23423 34234 45435 How do I display a specific node on a textbox control? Currently I'm trying to show the second…
MVZ
  • 2,220
  • 5
  • 27
  • 57
0
votes
1 answer

How to Bind an XmlDataProvider Class Property to a XAML TreeView

I would like to bind a TreeView control I have defined in XAML to a property in its code-behind class. I already read through a WPF Basic Data Binding FAQ, but the example in the comments at the very bottom of the page didn't work when I tried to…
sourcenouveau
  • 29,356
  • 35
  • 146
  • 243
-1
votes
1 answer

Setting Datacontext

Okay, I'm going to try and explain my excercise now.. This is my PageOverzicht.xaml, and this code works. It gives me a dropdown with the colors of the flowers in (blue, orange, white, ...). Now the datacontext is hardcoded to find the flowers with…
-1
votes
1 answer

Detecting changes to the source data using the XmlDataProvider and a bound TextBox

I have a TreeView bound to an XmlDataProvider. The name of a node is reflected in the tree and the data of the node is in a TextBox. When you click on a tree item, it loads the data in the TextBox. What is the best way to determine when a user has…
Timothy Lee Russell
  • 3,719
  • 1
  • 35
  • 43
-1
votes
1 answer

XmlDataProvider filtering ChildNodes of selected element

I'm using XmlDataProvider to bind some UI controls with XML file content. In the following code, the DataGrid displays the list of instructions in the XML file. I have two ComboBox. The first ComboBox should contain the selected instruction's (in…
1 2 3 4 5
6