Implemented interface member:
property
Width
MS.Internal.TextFormatting.ITextMetrics.Width
2 overrides of Width
PresentationCore (2)
MS\Internal\TextFormatting\FullTextLine.cs (1)
2258
public override double
Width
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1039
public override double
Width
15 references to Width
PresentationCore (2)
System\Windows\Media\FormattedText.cs (2)
1750
double blackBoxRight = origin.X + currentLine.Start + currentLine.
Width
- currentLine.OverhangTrailing;
1763
metrics.Width = Math.Max(metrics.Width, currentLine.
Width
);
PresentationFramework (13)
MS\Internal\Documents\TextBoxLine.cs (5)
349
return _line.
Width
;
525
xOffset = _paragraphWidth - _line.
Width
;
529
xOffset = (_paragraphWidth - _line.
Width
) / 2;
537
xOffset += (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
541
xOffset += (_line.
Width
- _line.WidthIncludingTrailingWhitespace);
MS\Internal\PtsHost\Line.cs (4)
414
if (!line.HasCollapsed || ((rect.Left + inlineObject.UIElementIsland.Root.DesiredSize.Width) < line.
Width
))
809
width = TextDpi.ToTextDpi(_line.
Width
) - TextDpi.ToTextDpi(_indent);
1092
trailingSpacesDelta = TextDpi.ToTextDpi(_line.
Width
) - width;
1097
width = TextDpi.ToTextDpi(_line.
Width
);
MS\Internal\Text\Line.cs (4)
343
return collapsedLine.
Width
;
370
return _line.
Width
;
521
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
525
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace);