Implemented interface member:
property
Width
MS.Internal.TextFormatting.ITextMetrics.Width
2 overrides of Width
PresentationCore (2)
MS\Internal\TextFormatting\FullTextLine.cs (1)
2259
public override double
Width
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1046
public override double
Width
15 references to Width
PresentationCore (2)
System\Windows\Media\FormattedText.cs (2)
1764
double blackBoxRight = origin.X + currentLine.Start + currentLine.
Width
- currentLine.OverhangTrailing;
1777
metrics.Width = Math.Max(metrics.Width, currentLine.
Width
);
PresentationFramework (13)
MS\Internal\Documents\TextBoxLine.cs (5)
356
return _line.
Width
;
532
xOffset = _paragraphWidth - _line.
Width
;
536
xOffset = (_paragraphWidth - _line.
Width
) / 2;
544
xOffset += (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
548
xOffset += (_line.
Width
- _line.WidthIncludingTrailingWhitespace);
MS\Internal\PtsHost\Line.cs (4)
418
if (!line.HasCollapsed || ((rect.Left + inlineObject.UIElementIsland.Root.DesiredSize.Width) < line.
Width
))
813
width = TextDpi.ToTextDpi(_line.
Width
) - TextDpi.ToTextDpi(_indent);
1096
trailingSpacesDelta = TextDpi.ToTextDpi(_line.
Width
) - width;
1101
width = TextDpi.ToTextDpi(_line.
Width
);
MS\Internal\Text\Line.cs (4)
347
return collapsedLine.
Width
;
374
return _line.
Width
;
525
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
529
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace);