internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     if (_manipulationProcessor != null)
     {
         _manipulationProcessor.SetParameters(parameter);
     }
 }
Exemple #2
0
        public void SetManipulationParameter(ManipulationParameters2D parameter)
        {
            if (_parameters == null)
            {
                _parameters = new List <ManipulationParameters2D>(1);
            }

            _parameters.Add(parameter);
        }
Exemple #3
0
        public static void SetManipulationParameter(UIElement element, ManipulationParameters2D parameter)
        {
            if (element == null)
            {
                throw new ArgumentNullException("element");
            }
            if (parameter == null)
            {
                throw new ArgumentNullException("parameter");
            }

            ManipulationDevice device = GetActiveManipulationDevice(element);

            if (device != null)
            {
                device.SetManipulationParameters(parameter);
            }
            else
            {
                throw new InvalidOperationException(SR.Get(SRID.Manipulation_ManipulationNotActive));
            }
        }
Exemple #4
0
        public static void SetManipulationParameter(UIElement element, ManipulationParameters2D parameter)
        { 
            if (element == null)
            {
                throw new ArgumentNullException("element");
            } 
            if (parameter == null)
            { 
                throw new ArgumentNullException("parameter"); 
            }
 
            ManipulationDevice device = GetActiveManipulationDevice(element);
            if (device != null)
            {
                device.SetManipulationParameters(parameter); 
            }
            else 
            { 
                throw new InvalidOperationException(SR.Get(SRID.Manipulation_ManipulationNotActive));
            } 
        }
 internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     if (_manipulationProcessor != null) 
     {
         _manipulationProcessor.SetParameters(parameter); 
     } 
 }
Exemple #6
0
 internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     _manipulationLogic.SetManipulationParameters(parameter);
 }
        public void SetManipulationParameter(ManipulationParameters2D parameter)
        {
            if (_parameters == null)
            {
                _parameters = new List<ManipulationParameters2D>(1);
            }

            _parameters.Add(parameter);
        }
Exemple #8
0
 internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     _manipulationLogic.SetManipulationParameters(parameter);
 }