1 write to manipulatorStates
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\ManipulationSequence.cs (1)
605
this.
manipulatorStates
= new Dictionary<int, ManipulatorState>();
27 references to manipulatorStates
System.Windows.Input.Manipulations (27)
System\Windows\Input\Manipulations\ManipulationSequence.cs (27)
153
this.
manipulatorStates
?.Clear();
302
removedManipulatorIds = ((this.
manipulatorStates
!= null) && (this.
manipulatorStates
.Count > 0))
303
? new HashSet<int>(this.
manipulatorStates
.Keys)
314
if (this.
manipulatorStates
== null || !this.
manipulatorStates
.TryGetValue(manipulator.Id, out state) || state == null)
441
if (this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0)
603
if (this.
manipulatorStates
== null)
608
if (!this.
manipulatorStates
.ContainsKey(initialState.Id))
610
this.
manipulatorStates
[initialState.Id] = initialState;
621
if (this.
manipulatorStates
!= null)
623
return this.
manipulatorStates
.Remove(manipulatorId);
681
if (this.
manipulatorStates
!= null)
683
if (this.
manipulatorStates
.Count > 1 && // rotate and scale require more than one manipulator
689
else if ((this.
manipulatorStates
.Count == 1) // try single-manipulator rotation
796
Debug.Assert(this.
manipulatorStates
!= null);
802
if ((this.
manipulatorStates
.Count < 2)
859
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)
1011
Debug.Assert(this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0);
1015
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)
1021
PointF result = new PointF(x / this.
manipulatorStates
.Count, y / this.
manipulatorStates
.Count);
1032
Debug.Assert(this.
manipulatorStates
!= null && this.
manipulatorStates
.Count > 0);
1034
foreach (KeyValuePair<int, ManipulatorState> pair in this.
manipulatorStates
)