1 type derived from TextFormatter
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
40internal sealed class TextFormatterImp : TextFormatter
30 references to TextFormatter
PresentationCore (10)
System\Windows\Media\FormattedText.cs (3)
900TextFormatter _formatter; 921_formatter = TextFormatter.FromCurrentDispatcher(text._textFormattingMode); 1568_minWidth = TextFormatter.FromCurrentDispatcher(_textFormattingMode).FormatMinMaxParagraphWidth(
System\Windows\Media\textformatting\TextFormatter.cs (7)
44static public TextFormatter Create(TextFormattingMode textFormattingMode) 59static public TextFormatter Create() 74static internal TextFormatter CreateFromContext(TextFormatterContext soleContext) 90static internal TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 107static internal TextFormatter FromCurrentDispatcher() 120static internal TextFormatter FromCurrentDispatcher(TextFormattingMode textFormattingMode) 127TextFormatter defaultTextFormatter;
PresentationFramework (20)
MS\Internal\Documents\TextBoxLine.cs (1)
181internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
MS\Internal\Documents\TextBoxView.cs (7)
1562TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 1739TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 3173_textFormatter = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3187internal TextFormatter TextFormatter 3197private TextFormatter _textFormatter;
MS\Internal\PtsHost\PtsCache.cs (2)
460_contextPool[index].TextFormatter = TextFormatter.CreateFromContext(textFormatterContext, textFormattingMode); 802internal TextFormatter TextFormatter;
MS\Internal\PtsHost\PtsContext.cs (2)
398internal TextFormatter TextFormatter 610private TextFormatter _textFormatter;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
24internal TextFormatterHost(TextFormatter textFormatter, TextFormattingMode textFormattingMode, double pixelsPerDip) 87internal TextFormatter TextFormatter;
MS\Internal\PtsHost\TextParagraph.cs (1)
203TextFormatter textFormatter = StructuralCache.TextFormatterHost.TextFormatter;
System\Windows\Controls\TextBlock.cs (5)
2671internal TextFormatter TextFormatter 2680_textFormatterDisplay = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 2688_textFormatterIdeal = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3836private TextFormatter _textFormatterIdeal; 3841private TextFormatter _textFormatterDisplay;