1 type derived from TextFormatter
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
42internal sealed class TextFormatterImp : TextFormatter
30 references to TextFormatter
PresentationCore (10)
Core\CSharp\System\Windows\Media\FormattedText.cs (3)
912TextFormatter _formatter; 933_formatter = TextFormatter.FromCurrentDispatcher(text._textFormattingMode); 1584_minWidth = TextFormatter.FromCurrentDispatcher(_textFormattingMode).FormatMinMaxParagraphWidth(
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatter.cs (7)
46static public TextFormatter Create(TextFormattingMode textFormattingMode) 61static public TextFormatter Create() 77static internal TextFormatter CreateFromContext(TextFormatterContext soleContext) 94static internal TextFormatter CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode) 112static internal TextFormatter FromCurrentDispatcher() 126static internal TextFormatter FromCurrentDispatcher(TextFormattingMode textFormattingMode) 133TextFormatter defaultTextFormatter;
PresentationFramework (20)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
183internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
1563TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 1737TextFormatter formatter = TextFormatter.FromCurrentDispatcher(textFormattingMode); 3150_textFormatter = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3164internal TextFormatter TextFormatter 3174private TextFormatter _textFormatter;
src\Framework\MS\Internal\PtsHost\PtsCache.cs (2)
530_contextPool[index].TextFormatter = TextFormatter.CreateFromContext(textFormatterContext, textFormattingMode); 915internal TextFormatter TextFormatter;
src\Framework\MS\Internal\PtsHost\PtsContext.cs (2)
424internal TextFormatter TextFormatter 666private TextFormatter _textFormatter;
src\Framework\MS\Internal\PtsHost\TextFormatterHost.cs (2)
27internal TextFormatterHost(TextFormatter textFormatter, TextFormattingMode textFormattingMode, double pixelsPerDip) 90internal TextFormatter TextFormatter;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
208TextFormatter textFormatter = StructuralCache.TextFormatterHost.TextFormatter;
src\Framework\System\Windows\Controls\TextBlock.cs (5)
2760internal TextFormatter TextFormatter 2769_textFormatterDisplay = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 2777_textFormatterIdeal = System.Windows.Media.TextFormatting.TextFormatter.FromCurrentDispatcher(textFormattingMode); 3825private TextFormatter _textFormatterIdeal; 3830private TextFormatter _textFormatterDisplay;