1 write to manipulatorStates
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\ManipulationSequence.cs (1)
604
this.
manipulatorStates
= new Dictionary<int, ManipulatorState>();
27 references to manipulatorStates
System.Windows.Input.Manipulations (27)
System\Windows\Input\Manipulations\ManipulationSequence.cs (27)
152
this.
manipulatorStates
?.Clear();
301
removedManipulatorIds = ((this.
manipulatorStates
!= null) && (this.
manipulatorStates
.Count > 0))
302
? new HashSet<int>(this.
manipulatorStates
.Keys)
313
if (this.
manipulatorStates
== null || !this.
manipulatorStates
.TryGetValue(manipulator.Id, out state) || state == null)
440
if (this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0)
602
if (this.
manipulatorStates
== null)
607
if (!this.
manipulatorStates
.ContainsKey(initialState.Id))
609
this.
manipulatorStates
[initialState.Id] = initialState;
620
if (this.
manipulatorStates
!= null)
622
return this.
manipulatorStates
.Remove(manipulatorId);
680
if (this.
manipulatorStates
!= null)
682
if (this.
manipulatorStates
.Count > 1 && // rotate and scale require more than one manipulator
688
else if ((this.
manipulatorStates
.Count == 1) // try single-manipulator rotation
795
Debug.Assert(this.
manipulatorStates
!= null);
801
if ((this.
manipulatorStates
.Count < 2)
858
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)
1010
Debug.Assert(this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0);
1014
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)
1020
PointF result = new PointF(x / this.
manipulatorStates
.Count, y / this.
manipulatorStates
.Count);
1031
Debug.Assert(this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0);
1033
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)