i am writing an application that has a viewmodel and a usercontrol that displays data from this viewmodel. The viewmodel contains an entity \"Appointment\", and those
I have a WPF window with a Grid and a TreeView. The datacontext for the Grid is bound to the selected item on the treeview. However, because not all treeviewitems are applicable, I want to disable the
I found this little snippet of code on the web: public abstract class ConverterExtension<T>: MarkupExtension, IValueConverter
I am teaching myself some .NET programming and I’m currently trying to build a tag cloud control in WPF. The aim is to have 2 listboxes on a window with the first listbox displaying a list of “Conta
Lets say i have an activity with InArgument<int> ProductId I\'d like to expose in the activity designer a combobox to show all Products and the user can select a product.
I\'m having issues with a converter i\'m using to convert between a string and our timeformat. The converter itself works fine and is implemeneted like this:
Is there a way to get the source object in the Conv开发者_开发问答ert method of a Converter class. I know how to get the converted property but is it possible to get the object that the property belon
I have data comming back from web service in the form of a ObservableCollection<string> I want to bind the collection to a read-only TextBox so that the user can select and copy the data to the
I have a text box for user to enter 6 character hex color value, a validator & a converter attached to it. Up to here, everything works fine. But I want to bind a textbox\'s Background color to th
I have a text box for entering hex values for specifying color. I have a Validator that validates that the string is a valid hex color value. And a converter that converts a string like \"FF0000\" to