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