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