private static void ContainerControlPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TouchManipulatorBehavior behv = d as TouchManipulatorBehavior;

            if (behv != null && behv.TouchManipulator != null)
            {
                behv.TouchManipulator.ContainerControl = (FrameworkElement)e.NewValue;
            }
        }
        private static void IsManipulationEnabledPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TouchManipulatorBehavior behv = d as TouchManipulatorBehavior;

            if (behv.AssociatedObject != null)
            {
                behv.AssociatedObject.IsManipulationEnabled = (bool)e.NewValue;
            }
        }