35 writes to Width
PresentationFramework (23)
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
401inkCanvas.Width = size.Width;
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
428((FrameworkElement)updatedElement).Width = newBounds.Width;
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (1)
93grid.Width = borderWidth;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
944rect.Width = _clonedElement.RenderSize.Width; 976rect.Width = _clonedElement.RenderSize.Width;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
833Width = width;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1128paddingHeader.Width = Double.NaN; 1160indicator.Width = 2.0; 1214_floatingHeader.Width = srcHeader.ActualWidth;
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
177_indicator.Width = percent * _track.ActualWidth;
src\Framework\System\Windows\Controls\Slider.cs (1)
1026rangeElement.Width = ((SelectionEnd - SelectionStart) * valueToSize);
src\Framework\System\Windows\Controls\ToolBarTray.cs (5)
698toolBar.Width = toolBar.RenderSize.Width - shrinkAmount; 703toolBar.Width = toolBar.MinLength; 746toolBar.Width = toolBar.RenderSize.Width + expandAmount; 751toolBar.Width = toolBar.MaxLength; 813currentToolBar.Width = Math.Max(currentToolBar.MinLength, currentToolBar.RenderSize.Width - toolBarOffset + position);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
744fp.Width = _pageWidth;
src\Framework\System\Windows\Documents\FixedElement.cs (1)
310image.Width = image.Source.Width;
src\Framework\System\Windows\Documents\FlowPosition.cs (1)
270image.Width = somImage.BoundingRect.Width;
src\Framework\System\Windows\Documents\TextRange.cs (2)
1065image.Width = bitmapSource.PixelWidth; 1069image.Width = (MaxImageHeight / bitmapSource.PixelHeight) * bitmapSource.PixelWidth;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
651control.Width = rect.Width; 669control.Width = rect.Width;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
56Width = Double.NaN,
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
220rect.Width = DesiredIconSize.Width;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (4)
505wnd.Width = 340; 834Width = this.width, 855Width = bounds.Width, 870Width = this.width,
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
145set { this.lookupWindowRectangle.Width = value; }
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1174Width = imageWidth, 1784return new Rectangle() { Width = 16, Height = 16, Fill = glyph };
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
364window.Width = size.Width;
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
254this.rubberBand.Width = rect.Width;
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
77this.Width = size.Width;
42 references to Width
PresentationFramework (29)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (3)
310requestedWidth = this.Width; 707Point requestedSizeDeviceUnits = LogicalToDeviceUnits(new Point(this.Width, this.Height)); 710if (!DoubleUtil.IsNaN(this.Width))
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (5)
295left = -(left + snc.Width); 847left = -(left + snc.Width); 1050transformations.Children.Add(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, this.Width, 0.0)); 1423Rect rect = new Rect(0, 0, Width, Height); 1594ret = new Rect(anchor.X + PositionTransform.X + _deltaX, anchor.Y + PositionTransform.Y + _deltaY, Width, Height);
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
129double width = Width;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
390hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
164new Size(_columnHeaderDragIndicator.Width, _columnHeaderDragIndicator.Height))); 170double dropIndicatorWidth = _columnHeaderDropLocationIndicator.Width;
src\Framework\System\Windows\Controls\ProgressBar.cs (5)
231if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 234double endPos = _indicator.Width + _glow.Width; 235double startPos = -1 * _glow.Width;
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
387/// <see cref="System.Windows.FrameworkElement.Width" /> on the content element. 428/// <see cref="System.Windows.FrameworkElement.Width" /> on this element.
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1204horizontalChange = wNew - this.Width;
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
740double width = fp.Width; 802return new Size(fp.Width, fp.Height);
src\Framework\System\Windows\Documents\FixedHighlight.cs (1)
121return new Rect(0, 0, im.Width, im.Height);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1334g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
src\Framework\System\Windows\Documents\TextRange.cs (1)
1059if (double.IsNaN(image.Width))
src\Framework\System\Windows\FrameworkElement.cs (1)
4072l = e.Width;
src\Framework\System\Windows\Window.cs (3)
2731requestedWidth = this.Width; 3928ownerSizeDeviceUnits = Owner.LogicalToDeviceUnits(new Point(Owner.Width, Owner.Height)); 4057if ((DoubleUtil.IsNaN(Owner.Width)) ||
System.Activities.Presentation (13)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
231mirrorTransform.CenterX = rect.Width / 2;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
294Rect panelRect = new Rect(0, 0, this.panel.Width, this.panel.Height);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (6)
351width = (width < this.Width) ? (this.Width < Double.MaxValue ? this.Width : width) : width; 393width = (width < this.Width) ? (this.Width < Double.MaxValue ? this.Width : width) : width;
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
144get { return this.lookupWindowRectangle.Width; }
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (3)
261x = ((target.ActualWidth * transform.Matrix.M11) - window.Width) / 2.0; 268x = ((target.ActualWidth * transform.Matrix.M11) - window.Width) / 2.0; 363System.Diagnostics.Debug.WriteLine("SetSize oldSize (" + window.Width + "," + window.Height + ") newSize (" + size.Width + "," + size.Height + ")");
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
371this.bottomRight = new Point(topLeft.X + Width, topLeft.Y + Height);