Handling a UserControl's DependencyProperty Command
I am struggling with getting a WPF UserControl to update one of its DependencyProperty when a DependencyProperty Command is invoked. Here's a an example that can hopefully demonstrate what I am trying to achieve. Basically it's a user control with a button on it. When the button is clicked, I'd like to increment an integer ( MyValue ) using a command ( MyCommand ): User Control <UserControl x:Class="UserControl1" x:Name="root" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org