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)
1761
double blackBoxRight = origin.X + currentLine.Start + currentLine.
Width
- currentLine.OverhangTrailing;
1774
metrics.Width = Math.Max(metrics.Width, currentLine.
Width
);
PresentationFramework (13)
MS\Internal\Documents\TextBoxLine.cs (5)
355
return _line.
Width
;
531
xOffset = _paragraphWidth - _line.
Width
;
535
xOffset = (_paragraphWidth - _line.
Width
) / 2;
543
xOffset += (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
547
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)
346
return collapsedLine.
Width
;
373
return _line.
Width
;
524
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace) / 2;
528
return (_line.
Width
- _line.WidthIncludingTrailingWhitespace);