1 type derived from TextFormatter
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
16internal sealed class TextFormatterImp : TextFormatter
30 references to TextFormatter
PresentationCore (10)
System\Windows\Media\FormattedText.cs (3)
865private TextFormatter _formatter; 886_formatter = TextFormatter.FromCurrentDispatcher(text._textFormattingMode); 1531_minWidth = TextFormatter.FromCurrentDispatcher(_textFormattingMode).FormatMinMaxParagraphWidth(
System\Windows\Media\textformatting\TextFormatter.cs (7)
41public static TextFormatter Create(TextFormattingMode textFormattingMode) 56public static TextFormatter Create() 71internal static TextFormatter CreateFromContext(TextFormatterContext soleContext) 87internal static TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 104internal static TextFormatter FromCurrentDispatcher() 117internal static TextFormatter FromCurrentDispatcher(TextFormattingMode textFormattingMode) 124TextFormatter defaultTextFormatter;
PresentationFramework (20)
MS\Internal\Documents\TextBoxLine.cs (1)
170internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
MS\Internal\Documents\TextBoxView.cs (7)
1513TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 1690TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 3112_textFormatter = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3126internal TextFormatter TextFormatter 3136private TextFormatter _textFormatter;
MS\Internal\PtsHost\PtsCache.cs (2)
452_contextPool[index].TextFormatter = TextFormatter.CreateFromContext(textFormatterContext, textFormattingMode); 794internal TextFormatter TextFormatter;
MS\Internal\PtsHost\PtsContext.cs (2)
394internal TextFormatter TextFormatter 606private TextFormatter _textFormatter;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
20internal TextFormatterHost(TextFormatter textFormatter, TextFormattingMode textFormattingMode, double pixelsPerDip) 80internal TextFormatter TextFormatter;
MS\Internal\PtsHost\TextParagraph.cs (1)
184TextFormatter textFormatter = StructuralCache.TextFormatterHost.TextFormatter;
System\Windows\Controls\TextBlock.cs (5)
2649internal TextFormatter TextFormatter 2658_textFormatterDisplay = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 2666_textFormatterIdeal = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3816private TextFormatter _textFormatterIdeal; 3821private TextFormatter _textFormatterDisplay;