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

            _parameters.Add(parameter);
        }
예제 #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));
            }
        }
예제 #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));
            } 
        }
예제 #5
0
 internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     if (_manipulationProcessor != null) 
     {
         _manipulationProcessor.SetParameters(parameter); 
     } 
 }
예제 #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);
        }
예제 #8
0
 internal void SetManipulationParameters(ManipulationParameters2D parameter)
 {
     _manipulationLogic.SetManipulationParameters(parameter);
 }