I\'m using a DataTemplate for a type that has a property which is the file address.I need to create a TextBox with a Button which will open an OpenFileDialog and then insert the selected file address
I have a DataGrid defined with WPF Toolkit. The CellEditingTemplate of this DataGrid is associated at runtime with a custom function that build a FrameworkElementFactory element.
Is there a way to create a data template that handles a list of items? I have Contact.Phones (EntityCollection<Phone>) and I want the data template to handle the list - add remove edit etc.
I have a usercontrol which I want to use as a DataTemplate in a Listbox. This works: <ListBox> <ListBox.ItemTemplate>
How would it be possible to choose a different datatemplate accroding the a field in the data binding source?