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