33 writes to Width
PresentationFramework (24)
MS\Internal\Ink\ClipboardProcessor.cs (1)
357inkCanvas.Width = size.Width;
MS\Internal\Ink\InkCanvasSelection.cs (1)
418((FrameworkElement)updatedElement).Width = newBounds.Width;
System\Windows\Controls\BorderGapMaskConverter.cs (1)
83grid.Width = borderWidth;
System\Windows\Controls\ComboBox.cs (2)
942rect.Width = _clonedElement.RenderSize.Width; 974rect.Width = _clonedElement.RenderSize.Width;
System\Windows\Controls\GridViewColumnHeader.cs (1)
464Width = width;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1125paddingHeader.Width = Double.NaN; 1157indicator.Width = 2.0; 1211_floatingHeader.Width = srcHeader.ActualWidth;
System\Windows\Controls\ProgressBar.cs (1)
181_indicator.Width = percent * _track.ActualWidth;
System\Windows\Controls\Slider.cs (2)
1021rangeElement.Width = ((SelectionEnd - SelectionStart) * valueToSize); 1086rangeElement.Width = ((Value - Minimum) * valueToSize);
System\Windows\Controls\ToolBarTray.cs (5)
685toolBar.Width = toolBar.RenderSize.Width - shrinkAmount; 690toolBar.Width = toolBar.MinLength; 733toolBar.Width = toolBar.RenderSize.Width + expandAmount; 738toolBar.Width = toolBar.MaxLength; 800currentToolBar.Width = Math.Max(currentToolBar.MinLength, currentToolBar.RenderSize.Width - toolBarOffset + position);
System\Windows\Documents\FixedDocument.cs (1)
717fp.Width = _pageWidth;
System\Windows\Documents\FixedElement.cs (1)
304image.Width = image.Source.Width;
System\Windows\Documents\FlowPosition.cs (1)
263image.Width = somImage.BoundingRect.Width;
System\Windows\Documents\TextRange.cs (2)
1068image.Width = bitmapSource.PixelWidth; 1072image.Width = (MaxImageHeight / bitmapSource.PixelHeight) * bitmapSource.PixelWidth;
System\Windows\Input\KeyboardNavigation.cs (2)
603control.Width = rect.Width; 621control.Width = rect.Width;
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
1138fixedPage.Width = newSize.Width;
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1460_itemsPresenterPopup.Width = this.CalculatePopupWidth();
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
577rect.Width = _clonedElement.RenderSize.Width; 610rect.Width = _clonedElement.RenderSize.Width;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (2)
38itemsPresenter.Width = itemsPresenter.ActualWidth; 144itemsPresenter.Width = newWidth;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
398_textBlock1.Width = Math.Max(1.0, width / 2.0); 426_textBlock1.Width = _textBlock1.Width + extraLength / 2;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
310childFrameworkElement.Width = double.NaN;
44 references to Width
PresentationFramework (29)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (5)
289left = -(left + snc.Width); 840left = -(left + snc.Width); 1034transformations.Children.Add(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, this.Width, 0.0)); 1408Rect rect = new Rect(0, 0, Width, Height); 1578ret = new Rect(anchor.X + PositionTransform.X + _deltaX, anchor.Y + PositionTransform.Y + _deltaY, Width, Height);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
128double width = Width;
System\Windows\Controls\GridViewColumnHeader.cs (1)
387hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
164new Size(_columnHeaderDragIndicator.Width, _columnHeaderDragIndicator.Height))); 170double dropIndicatorWidth = _columnHeaderDropLocationIndicator.Width;
System\Windows\Controls\ProgressBar.cs (5)
232if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 235double endPos = _indicator.Width + _glow.Width; 236double startPos = -1 * _glow.Width;
System\Windows\Controls\ScrollViewer.cs (2)
384/// <see cref="System.Windows.FrameworkElement.Width" /> on the content element. 425/// <see cref="System.Windows.FrameworkElement.Width" /> on this element.
System\Windows\Controls\StickyNote.cs (1)
1194horizontalChange = wNew - this.Width;
System\Windows\Documents\FixedDocument.cs (2)
713double width = fp.Width; 775return new Size(fp.Width, fp.Height);
System\Windows\Documents\FixedHighlight.cs (1)
118return new Rect(0, 0, im.Width, im.Height);
System\Windows\Documents\FixedPageStructure.cs (3)
284prevTextPoint.X = fp.Width - 100; 321Rect boundingRect = new Rect(0, 0, image.Width, image.Height); 598boundingRect = new Rect(0, 0, image.Width, image.Height);
System\Windows\Documents\FixedTextBuilder.cs (1)
1317g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
System\Windows\Documents\TextRange.cs (1)
1062if (double.IsNaN(image.Width))
System\Windows\FrameworkElement.cs (1)
4066l = e.Width;
System\Windows\Window.cs (3)
2574requestedWidth = this.Width; 3738ownerSizeDeviceUnits = Owner.LogicalToDeviceUnits(new Point(Owner.Width, Owner.Height)); 3849if ((double.IsNaN(Owner.Width)) ||
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
2454Rect pageBounds = new Rect(0.0, 0.0, fixedPage.Width, fixedPage.Height); 2463bool documentPagePortrait = (fixedPage.Width < fixedPage.Height); 2486tg.Children.Add(new MatrixTransform(0.0, -1.0, 1.0, 0.0, 0.0, fixedPage.Width));
ReachFramework (6)
Serialization\Manager\NGCSerializer.cs (1)
174Size pageSize = new Size(fp.Width, fp.Height);
Serialization\Manager\NGCSerializerAsync.cs (1)
833Size pageSize = new Size(fp.Width, fp.Height);
Serialization\Manager\ReachFixedPageSerializer.cs (1)
187Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\ReachFixedPageSerializerAsync.cs (1)
212Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\ReachSerializationUtils.cs (1)
1133Size size = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\XpsOMFixedPageSerializer.cs (1)
177Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
127double newWidth = itemsPresenter.Width + horizontalDelta;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1025if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1030double horizontalDelta = newWidth - _itemsPresenter.Width;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1089if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1094double horizontalDelta = newWidth - _itemsPresenter.Width;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
426_textBlock1.Width = _textBlock1.Width + extraLength / 2;