8 writes to Width
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
381
da.
Width
= GetCappedHeightOrWidth(width);
System\Windows\Ink\Stroke2.cs (1)
394
selectedDA.
Width
= Math.Max(selectedDA.Width, DrawingAttributes.DefaultWidth);
PresentationFramework (6)
MS\Internal\Ink\PenCursorManager.cs (5)
79
da.
Width
= stylusShape.Width;
335
da.
Width
= drawingAttributes.Width;
344
singleStroke.DrawingAttributes.
Width
= ConvertToPixel(singleStroke.DrawingAttributes.Width, dpiScaleX);
363
singleStroke.DrawingAttributes.
Width
= 1.0;
368
singleStroke.DrawingAttributes.
Width
= maxLength;
System\Windows\Controls\StickyNote.cs (1)
1793
da.
Width
= PenWidth;
15 references to Width
PresentationCore (12)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
634
double stylusWidth = da.
Width
;
MS\Internal\Ink\StrokeRenderer.cs (1)
252
double maxExtent = Math.Max(drawingAttributes.Height, drawingAttributes.
Width
);
System\Windows\Ink\DrawingAttributes.cs (4)
395
s = new RectangleStylusShape(this.
Width
, this.Height);
399
s = new EllipseStylusShape(this.
Width
, this.Height);
760
DoubleUtil.AreClose(left.
Width
, right.
Width
) &&
System\Windows\Ink\IncrementalHitTester.cs (4)
837
weight += Math.Sqrt(da.
Width
*da.
Width
+ da.Height*da.Height) / 2.0f;
847
weight += Math.Sqrt(da.
Width
*da.
Width
+ da.Height*da.Height) / 2.0f;
System\Windows\Ink\Stroke2.cs (2)
394
selectedDA.Width = Math.Max(selectedDA.
Width
, DrawingAttributes.DefaultWidth);
687
Point w = originalDa.StylusTipTransform.Transform(new Point(originalDa.
Width
, 0));
PresentationFramework (3)
MS\Internal\Ink\PenCursorManager.cs (2)
335
da.Width = drawingAttributes.
Width
;
344
singleStroke.DrawingAttributes.Width = ConvertToPixel(singleStroke.DrawingAttributes.
Width
, dpiScaleX);
System\Windows\Controls\StickyNote.cs (1)
461
(new DrawingAttributes()).
Width
,