Using an MVVM approach to WPF, I have a view model class called SubButton. It is styled as follows: <!-- SubNavButton Appearance -->
Morning folks, I\'m still trying to get my head around databinding in WPF and so I\'m having a bit of a problem working out how to solve this issue: I have a datatemplate for a button that I use to d
If I have a custom class called VideoMedia (which contains a standard Uri for the video path) and I have a DataTemplate that I use to create a Video Player like controls.
Is there any way to bind a value to a textblock that is obtained from a method. For example, I pass my Person object into the HierarchicalDataTemplate, from there I can access its Weight property. Now
I want to create a datatemplate (in code, but thats not the point) which allows me to click on an item and set its bool value. What I managed to create was a combination of CheckBox and TextBlock, whi
I have a user control that i am using inside a DataTemplate, this UserControl contains a TextBox which is binded with Value property(declared as a DependencyProperty) of my UserControl. In data templa
I have a class with a boolean static property called CanSeePhotos and this should control the visibility of pictures in my DataTemplate.
In my application, I would like to have DataTemplates such that I can say: These are the DataTemplates for use in a TreeView
I have a ListBox showing data about employees such as name, department photo, badge number, etc. Employees may have different types such as Manager, Staff, Volunteers. I have 3 separate data templates
I have 8 different XAML DataTemplates that are all very similar.Here are 2 of them: <DataTemplate x:Key=\"ConflictFieldStringCellContentTemplate\">