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