I\'ve got a subclassed UserControl that is the content for my main window. I added a DepedencyProperty to my usercontrol, of type ResizeMode, and the PropertyChanged callback sets the ResizeMode of th
I created a ComboBox subclass and added my functionality. Now I want to expose external properties of the TextBox for example:
I have created a custom behavior that I can pass properties to fine, currently just strings, my behavior looks roughly like this:
I am trying to add my own ItemsSource to provide a list of GraphViewModels to a chart.I dont think I have it quite right though, as when I create my first GraphViewModel and add it to the Graphs, my D
How do I add my property called weight to an image and use it like this:? myImage.weight (assuming i have already defined myImage in XAML)
I have a custom control that has a Dependancy Property...it has a few but let us say Dragable is my problem. The property is a boolean and I want to execute a piece of code each time it changes...a to
Here\'s the C# code directly from the website (http://jobijoy.blogspot.com/2007/10/time-picker-user-control.html) that everyone refers to when someone asks about TimePicker for WPF, although I moved i
I am creating a user control to display a three-month calendar. The control is based on the WPF Calendar control (WPF Toolkit 2009-06), and I want to pass several of the Calendar\'s properties through
I have a highly customized Edit control which inher开发者_开发知识库its RichTextBox. I needed a way to bind a Value to this control, so I registered a new DependencyProperty, but I have trouble to cod
I have a usercontrol with a DependencyProperty of Answer which is attached to a TextBox. I have queried the database and bound the answer to the usercontrol and the correct value is displayed.