5 writes to currentState
System.Workflow.ComponentModel (5)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (5)
29
this.
currentState
= this.initialState = (initiateZoomIn) ? ZoomState.In : ZoomState.Out;
82
this.
currentState
= ((Control.ModifierKeys & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
134
this.
currentState
= ((eventArgs.Modifiers & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
142
this.
currentState
= ((eventArgs.Modifiers & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
190
this.
currentState
= ((Control.ModifierKeys & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
10 references to currentState
System.Workflow.ComponentModel (10)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (10)
118
int zoom = parentView.Zoom + ((this.
currentState
== ZoomState.In) ? ZoomingMessageFilter.ZoomIncrement : (-1 * ZoomingMessageFilter.ZoomIncrement));
119
Point center = new Point((this.
currentState
== ZoomState.In) ? eventArgs.X : parentView.ViewPortSize.Width / 2, (this.
currentState
== ZoomState.In) ? eventArgs.Y : parentView.ViewPortSize.Height / 2);
165
Debug.Assert(this.
currentState
== ZoomState.In && CanContinueZooming && this.fastZoomingMessageFilter != null);
166
if (CanContinueZooming && this.
currentState
== ZoomState.In && this.fastZoomingMessageFilter != null && !this.fastZoomingMessageFilter.DragRectangle.IsEmpty)
199
return ((this.
currentState
== ZoomState.Out && parentView.Zoom > AmbientTheme.MinZoom) || (this.
currentState
== ZoomState.In && parentView.Zoom < AmbientTheme.MaxZoom));
244
else if (this.
currentState
== ZoomState.In)
250
if (this.fastZoomingMessageFilter == null && CanContinueZooming && this.
currentState
== ZoomState.In)
256
else if (this.fastZoomingMessageFilter != null && (!CanContinueZooming || this.
currentState
!= ZoomState.In))