8 writes to Width
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
370
da.
Width
= GetCappedHeightOrWidth(width);
System\Windows\Ink\Stroke2.cs (1)
378
selectedDA.
Width
= Math.Max(selectedDA.Width, DrawingAttributes.DefaultWidth);
PresentationFramework (6)
MS\Internal\Ink\PenCursorManager.cs (5)
73
da.
Width
= stylusShape.Width;
329
Width
= drawingAttributes.Width,
339
singleStroke.DrawingAttributes.
Width
= ConvertToPixel(singleStroke.DrawingAttributes.Width, dpiScaleX);
358
singleStroke.DrawingAttributes.
Width
= 1.0;
363
singleStroke.DrawingAttributes.
Width
= maxLength;
System\Windows\Controls\StickyNote.cs (1)
1751
da.
Width
= PenWidth;
16 references to Width
PresentationCore (13)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
623
double stylusWidth = da.
Width
;
MS\Internal\Ink\StrokeRenderer.cs (1)
248
double maxExtent = Math.Max(drawingAttributes.Height, drawingAttributes.
Width
);
System\Windows\Ink\DrawingAttributes.cs (5)
383
s = new RectangleStylusShape(this.
Width
, this.Height);
387
s = new EllipseStylusShape(this.
Width
, this.Height);
748
DoubleUtil.AreClose(left.
Width
, right.
Width
) &&
975
OnPropertyChanged(nameof(
Width
));
System\Windows\Ink\IncrementalHitTester.cs (4)
824
weight += Math.Sqrt(da.
Width
*da.
Width
+ da.Height*da.Height) / 2.0f;
834
weight += Math.Sqrt(da.
Width
*da.
Width
+ da.Height*da.Height) / 2.0f;
System\Windows\Ink\Stroke2.cs (2)
378
selectedDA.Width = Math.Max(selectedDA.
Width
, DrawingAttributes.DefaultWidth);
671
Point w = originalDa.StylusTipTransform.Transform(new Point(originalDa.
Width
, 0));
PresentationFramework (3)
MS\Internal\Ink\PenCursorManager.cs (2)
329
Width = drawingAttributes.
Width
,
339
singleStroke.DrawingAttributes.Width = ConvertToPixel(singleStroke.DrawingAttributes.
Width
, dpiScaleX);
System\Windows\Controls\StickyNote.cs (1)
427
(new DrawingAttributes()).
Width
,