I am trying to build a custom Silverlight ItemsControl. I want the users of this control to add items using XAML. The items will be other UI elements. I would like to add a margin around all added ite
TL;DR up front: I would like to use a \"default\" HierarchicalDataTemplate for all but a specific few nodes in a WPF TreeView. These nodes come from an XMLDocument and are not fully known until runtim
I\'ve setup a reusable datatemplate \"DataGridCheckBoxEdit\" for a datagrid column. Binding to it one way works like a charm through ContentControl. Binding directly works two way correctly. However,
I have a window where different controls had to be displayed over time. I searched for a solution with using the mvvm pattern and ended up with this
I\'m trying to make an intertia touch scrolling list in a UserControl in Silverlight 4 using Expression Blend 4. I\'ve already made the dependency properties in my UserControl which i want to work lik
I am trying to create a DataTemplate for mapping a simple data type with a corresponding view as follows:
In开发者_如何学JAVA Silverlight, I have a DataTemplate which is bound to an object which contains a property which holds a UserControl.
I have UserControl to do filtering for several presentations, which in turn has a ContentControl. The content are the individual filtering controls that vary among the presentations.
I have a comboBox that is bound to a list of strings from my viewModel.What I am trying to do is have the foreground of a comboBox item be set to a different color if a property in my viewModel is tru
I have a control in a base assembly with Content that I would like to set based on the current DataContext.