33 writes to Width
PresentationFramework (24)
MS\Internal\Ink\ClipboardProcessor.cs (1)
350
inkCanvas.
Width
= size.Width;
MS\Internal\Ink\InkCanvasSelection.cs (1)
405
((FrameworkElement)updatedElement).
Width
= newBounds.Width;
System\Windows\Controls\BorderGapMaskConverter.cs (1)
82
Width
= borderWidth,
System\Windows\Controls\ComboBox.cs (2)
920
Width
= _clonedElement.RenderSize.Width,
953
rect.
Width
= _clonedElement.RenderSize.Width;
System\Windows\Controls\GridViewColumnHeader.cs (1)
453
Width
= width;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1091
paddingHeader.
Width
= Double.NaN;
1124
Width
= 2.0
1181
_floatingHeader.
Width
= srcHeader.ActualWidth;
System\Windows\Controls\ProgressBar.cs (1)
170
_indicator.
Width
= percent * _track.ActualWidth;
System\Windows\Controls\Slider.cs (2)
990
rangeElement.
Width
= ((SelectionEnd - SelectionStart) * valueToSize);
1055
rangeElement.
Width
= ((Value - Minimum) * valueToSize);
System\Windows\Controls\ToolBarTray.cs (5)
673
toolBar.
Width
= toolBar.RenderSize.Width - shrinkAmount;
678
toolBar.
Width
= toolBar.MinLength;
721
toolBar.
Width
= toolBar.RenderSize.Width + expandAmount;
726
toolBar.
Width
= toolBar.MaxLength;
788
currentToolBar.
Width
= Math.Max(currentToolBar.MinLength, currentToolBar.RenderSize.Width - toolBarOffset + position);
System\Windows\Documents\FixedDocument.cs (1)
706
fp.
Width
= _pageWidth;
System\Windows\Documents\FixedElement.cs (1)
301
image.
Width
= image.Source.Width;
System\Windows\Documents\FlowPosition.cs (1)
258
image.
Width
= somImage.BoundingRect.Width;
System\Windows\Documents\TextRange.cs (2)
1056
image.
Width
= bitmapSource.PixelWidth;
1060
image.
Width
= (MaxImageHeight / bitmapSource.PixelHeight) * bitmapSource.PixelWidth;
System\Windows\Input\KeyboardNavigation.cs (2)
594
control.
Width
= rect.Width;
613
Width
= rect.Width,
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
1122
fixedPage.
Width
= newSize.Width;
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1432
_itemsPresenterPopup.
Width
= this.CalculatePopupWidth();
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
570
Width
= _clonedElement.RenderSize.Width,
604
rect.
Width
= _clonedElement.RenderSize.Width;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (2)
31
itemsPresenter.
Width
= itemsPresenter.ActualWidth;
137
itemsPresenter.
Width
= newWidth;
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
394
_textBlock1.
Width
= Math.Max(1.0, width / 2.0);
422
_textBlock1.
Width
+= extraLength / 2;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
305
childFrameworkElement.
Width
= double.NaN;
43 references to Width
PresentationFramework (29)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (5)
278
left = -(left + snc.
Width
);
829
left = -(left + snc.
Width
);
1023
transformations.Children.Add(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, this.
Width
, 0.0));
1396
Rect rect = new Rect(0, 0,
Width
, Height);
1566
ret = new Rect(anchor.X + PositionTransform.X + _deltaX, anchor.Y + PositionTransform.Y + _deltaY,
Width
, Height);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
124
double width =
Width
;
System\Windows\Controls\GridViewColumnHeader.cs (1)
382
hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.
Width
);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
158
new Size(_columnHeaderDragIndicator.
Width
, _columnHeaderDragIndicator.Height)));
164
double dropIndicatorWidth = _columnHeaderDropLocationIndicator.
Width
;
System\Windows\Controls\ProgressBar.cs (5)
224
if(IsVisible && (_glow.
Width
> 0) && (_indicator.
Width
> 0 ))
227
double endPos = _indicator.
Width
+ _glow.
Width
;
228
double startPos = -1 * _glow.
Width
;
System\Windows\Controls\ScrollViewer.cs (2)
375
/// <see cref="System.Windows.FrameworkElement.
Width
" /> on the content element.
416
/// <see cref="System.Windows.FrameworkElement.
Width
" /> on this element.
System\Windows\Controls\StickyNote.cs (1)
1155
horizontalChange = wNew - this.
Width
;
System\Windows\Documents\FixedDocument.cs (2)
702
double width = fp.
Width
;
764
return new Size(fp.
Width
, fp.Height);
System\Windows\Documents\FixedHighlight.cs (1)
112
return new Rect(0, 0, im.
Width
, im.Height);
System\Windows\Documents\FixedPageStructure.cs (3)
277
prevTextPoint.X = fp.
Width
- 100;
314
Rect boundingRect = new Rect(0, 0, image.
Width
, image.Height);
591
boundingRect = new Rect(0, 0, image.
Width
, image.Height);
System\Windows\Documents\FixedTextBuilder.cs (1)
1297
g = new RectangleGeometry(new Rect(0, 0, im.
Width
, im.Height));
System\Windows\Documents\TextRange.cs (1)
1050
if (double.IsNaN(image.
Width
))
System\Windows\FrameworkElement.cs (1)
4052
l = e.
Width
;
System\Windows\Window.cs (3)
2655
requestedWidth = this.
Width
;
3815
ownerSizeDeviceUnits = Owner.LogicalToDeviceUnits(new Point(Owner.
Width
, Owner.Height));
3926
if ((double.IsNaN(Owner.
Width
)) ||
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
2440
Rect pageBounds = new Rect(0.0, 0.0, fixedPage.
Width
, fixedPage.Height);
2449
bool documentPagePortrait = (fixedPage.
Width
< fixedPage.Height);
2472
tg.Children.Add(new MatrixTransform(0.0, -1.0, 1.0, 0.0, 0.0, fixedPage.
Width
));
ReachFramework (6)
Serialization\Manager\NGCSerializer.cs (1)
161
Size pageSize = new Size(fp.
Width
, fp.Height);
Serialization\Manager\NGCSerializerAsync.cs (1)
815
Size pageSize = new Size(fp.
Width
, fp.Height);
Serialization\Manager\ReachFixedPageSerializer.cs (1)
177
Size fixedPageSize = new Size(fixedPage.
Width
, fixedPage.Height);
Serialization\Manager\ReachFixedPageSerializerAsync.cs (1)
202
Size fixedPageSize = new Size(fixedPage.
Width
, fixedPage.Height);
Serialization\Manager\ReachSerializationUtils.cs (1)
1117
Size size = new Size(fixedPage.
Width
, fixedPage.Height);
Serialization\Manager\XpsOMFixedPageSerializer.cs (1)
167
Size fixedPageSize = new Size(fixedPage.
Width
, fixedPage.Height);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
120
double newWidth = itemsPresenter.
Width
+ horizontalDelta;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1012
if (double.IsNaN(_itemsPresenter.
Width
) || double.IsNaN(_itemsPresenter.Height))
1017
double horizontalDelta = newWidth - _itemsPresenter.
Width
;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1076
if (double.IsNaN(_itemsPresenter.
Width
) || double.IsNaN(_itemsPresenter.Height))
1081
double horizontalDelta = newWidth - _itemsPresenter.
Width
;