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