Implemented interface member:
property
Width
MS.Internal.TextFormatting.ITextMetrics.Width
2 overrides of Width
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2320public override double Width
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1069public override double Width
15 references to Width
PresentationCore (2)
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
1815double blackBoxRight = origin.X + currentLine.Start + currentLine.Width - currentLine.OverhangTrailing; 1828metrics.Width = Math.Max(metrics.Width, currentLine.Width);
PresentationFramework (13)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (5)
365return _line.Width; 541xOffset = _paragraphWidth - _line.Width; 545xOffset = (_paragraphWidth - _line.Width) / 2; 553xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 557xOffset += (_line.Width - _line.WidthIncludingTrailingWhitespace);
src\Framework\MS\Internal\PtsHost\Line.cs (4)
436if (!line.HasCollapsed || ((rect.Left + inlineObject.UIElementIsland.Root.DesiredSize.Width) < line.Width)) 831width = TextDpi.ToTextDpi(_line.Width) - TextDpi.ToTextDpi(_indent); 1119trailingSpacesDelta = TextDpi.ToTextDpi(_line.Width) - width; 1124width = TextDpi.ToTextDpi(_line.Width);
src\Framework\MS\Internal\Text\Line.cs (4)
357return collapsedLine.Width; 384return _line.Width; 535return (_line.Width - _line.WidthIncludingTrailingWhitespace) / 2; 539return (_line.Width - _line.WidthIncludingTrailingWhitespace);