10 writes to Zoom
System.Workflow.ComponentModel (10)
AuthoringOM\Design\CommandSet.cs (2)
290this.workflowView.Zoom = Math.Min(Math.Max(newZoom, AmbientTheme.MinZoom), AmbientTheme.MaxZoom); 294this.workflowView.Zoom = ConvertToZoomLevel(menuCommand.CommandID.ID);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
1219Zoom = Convert.ToInt32((Math.Min(zoom.X, zoom.Y) * 100));
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
427parentView.Zoom = newZoom;
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
185parentView.Zoom = Math.Min(Math.Max(zoomLevel, AmbientTheme.MinZoom), AmbientTheme.MaxZoom);
AuthoringOM\Design\WorkflowView.cs (5)
508Zoom = 40; 512Zoom = this.prePreviewZoom; 914this.Zoom = reader.ReadInt32(); 946Zoom = Math.Min(Math.Max(newZoom, AmbientTheme.MinZoom), AmbientTheme.MaxZoom); 956Zoom = 100;
19 references to Zoom
System.Workflow.ComponentModel (19)
AuthoringOM\Design\CommandSet.cs (1)
192int commandID = this.ConvertToZoomCommand(this.workflowView.Zoom);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
758return ((float)parentView.Zoom / 100.0f * parentView.ActiveLayout.Scaling);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
64float dragMultiply = 2.0f / (float)parentView.Zoom * 100.0f;
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
424int newZoom = parentView.Zoom + ((eventArgs.Delta / 120) * 10);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (3)
118int zoom = parentView.Zoom + ((this.currentState == ZoomState.In) ? ZoomingMessageFilter.ZoomIncrement : (-1 * ZoomingMessageFilter.ZoomIncrement)); 199return ((this.currentState == ZoomState.Out && parentView.Zoom > AmbientTheme.MinZoom) || (this.currentState == ZoomState.In && parentView.Zoom < AmbientTheme.MaxZoom));
AuthoringOM\Design\WorkflowLayouts.cs (6)
220clientSize.Width = (int)(clientSize.Width / ((float)this.parentView.Zoom / 100.0f)); 221clientSize.Height = (int)(clientSize.Height / ((float)this.parentView.Zoom / 100.0f)); 546coOrdTxMatrix.Scale(viewPortData.Scaling.Width / (float)this.parentView.Zoom * 100.0f, viewPortData.Scaling.Height / (float)this.parentView.Zoom * 100.0f); 550graphicsMatrics.Scale((float)this.parentView.Zoom / 100.0f, (float)this.parentView.Zoom / 100.0f);
AuthoringOM\Design\WorkflowView.cs (6)
338if (Zoom == value) 506this.prePreviewZoom = Zoom; 886writer.Write(this.Zoom); 955if (Zoom != 100) 1870else if (Zoom != 100) 1893else if (Zoom != 100)