46 writes to Width
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
177Width = WidthAndHeightOfGlyph,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
IWpfDifferenceViewerExtensions.cs (1)
41_diffViewer.VisualElement.Width = _width;
IWpfTextViewExtensions.cs (1)
31view.VisualElement.Width = newWidth;
LineSeparators\LineSeparatorTag.cs (2)
43Width = view.ViewportWidth 58border.Width = view.ViewportWidth;
Microsoft.VisualStudio.LanguageServices (5)
InheritanceMargin\InheritanceGlyphManager.cs (1)
213{ Height = _heightAndWidthOfTheGlyph, Width = _heightAndWidthOfTheGlyph };
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
64_mainCanvas = new Canvas { ClipToBounds = true, Width = HeightAndWidthOfMargin };
PreviewPane\PreviewPane.xaml.cs (2)
199grid.Width = previewElement.Width; 308HeaderStackPanel.Width = headerStackPanelWidth;
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
86Width = 16.0,
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
184Width = ToolBarButtonSize - 4, 192Width = ToolBarButtonSize,
PresentationFramework (24)
MS\Internal\Ink\ClipboardProcessor.cs (1)
351inkCanvas.Width = size.Width;
MS\Internal\Ink\InkCanvasSelection.cs (1)
406((FrameworkElement)updatedElement).Width = newBounds.Width;
System\Windows\Controls\BorderGapMaskConverter.cs (1)
82grid.Width = borderWidth;
System\Windows\Controls\ComboBox.cs (2)
932rect.Width = _clonedElement.RenderSize.Width; 964rect.Width = _clonedElement.RenderSize.Width;
System\Windows\Controls\GridViewColumnHeader.cs (1)
460Width = width;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1122paddingHeader.Width = Double.NaN; 1154indicator.Width = 2.0; 1208_floatingHeader.Width = srcHeader.ActualWidth;
System\Windows\Controls\ProgressBar.cs (1)
174_indicator.Width = percent * _track.ActualWidth;
System\Windows\Controls\Slider.cs (2)
1010rangeElement.Width = ((SelectionEnd - SelectionStart) * valueToSize); 1075rangeElement.Width = ((Value - Minimum) * valueToSize);
System\Windows\Controls\ToolBarTray.cs (5)
677toolBar.Width = toolBar.RenderSize.Width - shrinkAmount; 682toolBar.Width = toolBar.MinLength; 725toolBar.Width = toolBar.RenderSize.Width + expandAmount; 730toolBar.Width = toolBar.MaxLength; 792currentToolBar.Width = Math.Max(currentToolBar.MinLength, currentToolBar.RenderSize.Width - toolBarOffset + position);
System\Windows\Documents\FixedDocument.cs (1)
706fp.Width = _pageWidth;
System\Windows\Documents\FixedElement.cs (1)
296image.Width = image.Source.Width;
System\Windows\Documents\FlowPosition.cs (1)
259image.Width = somImage.BoundingRect.Width;
System\Windows\Documents\TextRange.cs (2)
1065image.Width = bitmapSource.PixelWidth; 1069image.Width = (MaxImageHeight / bitmapSource.PixelHeight) * bitmapSource.PixelWidth;
System\Windows\Input\KeyboardNavigation.cs (2)
593control.Width = rect.Width; 611control.Width = rect.Width;
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
1128fixedPage.Width = newSize.Width;
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
97indicator.Width = 30;
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1457_itemsPresenterPopup.Width = this.CalculatePopupWidth();
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
575rect.Width = _clonedElement.RenderSize.Width; 608rect.Width = _clonedElement.RenderSize.Width;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (2)
32itemsPresenter.Width = itemsPresenter.ActualWidth; 138itemsPresenter.Width = newWidth;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
395_textBlock1.Width = Math.Max(1.0, width / 2.0); 423_textBlock1.Width = _textBlock1.Width + extraLength / 2;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
307childFrameworkElement.Width = double.NaN;
48 references to Width
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
IWpfTextViewExtensions.cs (1)
29if (IsGreater(newWidth, view.VisualElement.Width))
Microsoft.VisualStudio.LanguageServices (3)
PreviewPane\PreviewPane.xaml.cs (3)
199grid.Width = previewElement.Width; 296double.IsNaN(previewElement.Width) ? DefaultWidth : previewElement.Width,
PresentationFramework (29)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (5)
279left = -(left + snc.Width); 830left = -(left + snc.Width); 1024transformations.Children.Add(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, this.Width, 0.0)); 1398Rect rect = new Rect(0, 0, Width, Height); 1568ret = new Rect(anchor.X + PositionTransform.X + _deltaX, anchor.Y + PositionTransform.Y + _deltaY, Width, Height);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
124double width = Width;
System\Windows\Controls\GridViewColumnHeader.cs (1)
383hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
159new Size(_columnHeaderDragIndicator.Width, _columnHeaderDragIndicator.Height))); 165double dropIndicatorWidth = _columnHeaderDropLocationIndicator.Width;
System\Windows\Controls\ProgressBar.cs (5)
225if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 228double endPos = _indicator.Width + _glow.Width; 229double startPos = -1 * _glow.Width;
System\Windows\Controls\ScrollViewer.cs (2)
376/// <see cref="System.Windows.FrameworkElement.Width" /> on the content element. 417/// <see cref="System.Windows.FrameworkElement.Width" /> on this element.
System\Windows\Controls\StickyNote.cs (1)
1178horizontalChange = wNew - this.Width;
System\Windows\Documents\FixedDocument.cs (2)
702double width = fp.Width; 764return new Size(fp.Width, fp.Height);
System\Windows\Documents\FixedHighlight.cs (1)
113return new Rect(0, 0, im.Width, im.Height);
System\Windows\Documents\FixedPageStructure.cs (3)
278prevTextPoint.X = fp.Width - 100; 315Rect boundingRect = new Rect(0, 0, image.Width, image.Height); 592boundingRect = new Rect(0, 0, image.Width, image.Height);
System\Windows\Documents\FixedTextBuilder.cs (1)
1301g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
System\Windows\Documents\TextRange.cs (1)
1059if (double.IsNaN(image.Width))
System\Windows\FrameworkElement.cs (1)
4062l = e.Width;
System\Windows\Window.cs (3)
2679requestedWidth = this.Width; 3843ownerSizeDeviceUnits = Owner.LogicalToDeviceUnits(new Point(Owner.Width, Owner.Height)); 3954if ((double.IsNaN(Owner.Width)) ||
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
2445Rect pageBounds = new Rect(0.0, 0.0, fixedPage.Width, fixedPage.Height); 2454bool documentPagePortrait = (fixedPage.Width < fixedPage.Height); 2477tg.Children.Add(new MatrixTransform(0.0, -1.0, 1.0, 0.0, 0.0, fixedPage.Width));
ReachFramework (6)
Serialization\Manager\NGCSerializer.cs (1)
162Size pageSize = new Size(fp.Width, fp.Height);
Serialization\Manager\NGCSerializerAsync.cs (1)
822Size pageSize = new Size(fp.Width, fp.Height);
Serialization\Manager\ReachFixedPageSerializer.cs (1)
178Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\ReachFixedPageSerializerAsync.cs (1)
203Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\ReachSerializationUtils.cs (1)
1123Size size = new Size(fixedPage.Width, fixedPage.Height);
Serialization\Manager\XpsOMFixedPageSerializer.cs (1)
168Size fixedPageSize = new Size(fixedPage.Width, fixedPage.Height);
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
121double newWidth = itemsPresenter.Width + horizontalDelta;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1022if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1027double horizontalDelta = newWidth - _itemsPresenter.Width;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1086if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1091double horizontalDelta = newWidth - _itemsPresenter.Width;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
423_textBlock1.Width = _textBlock1.Width + extraLength / 2;