1 write to manipulatorStates
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\ManipulationSequence.cs (1)
611this.manipulatorStates = new Dictionary<int, ManipulatorState>();
28 references to manipulatorStates
System.Windows.Input.Manipulations (28)
System\Windows\Input\Manipulations\ManipulationSequence.cs (28)
153if (this.manipulatorStates != null) 155this.manipulatorStates.Clear(); 305removedManipulatorIds = ((this.manipulatorStates != null) && (this.manipulatorStates.Count > 0)) 306? new HashSet<int>(this.manipulatorStates.Keys) 320if (this.manipulatorStates == null || !this.manipulatorStates.TryGetValue(manipulator.Id, out state) || state == null) 447if (this.manipulatorStates != null && this.manipulatorStates.Count > 0) 609if (this.manipulatorStates == null) 614if (!this.manipulatorStates.ContainsKey(initialState.Id)) 616this.manipulatorStates[initialState.Id] = initialState; 627if (this.manipulatorStates != null) 629return this.manipulatorStates.Remove(manipulatorId); 687if (this.manipulatorStates != null) 689if (this.manipulatorStates.Count > 1 && // rotate and scale require more than one manipulator 695else if ((this.manipulatorStates.Count == 1) // try single-manipulator rotation 802Debug.Assert(this.manipulatorStates != null); 808if ((this.manipulatorStates.Count < 2) 865foreach (KeyValuePair<int, ManipulatorState> pair in this.manipulatorStates) 1017Debug.Assert(this.manipulatorStates != null && this.manipulatorStates.Count > 0); 1021foreach (KeyValuePair<int, ManipulatorState> pair in this.manipulatorStates) 1027PointF result = new PointF(x / this.manipulatorStates.Count, y / this.manipulatorStates.Count); 1038Debug.Assert(this.manipulatorStates != null && this.manipulatorStates.Count > 0); 1040foreach (KeyValuePair<int, ManipulatorState> pair in this.manipulatorStates)