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