1 type derived from TextFormatter
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
17
internal sealed class TextFormatterImp :
TextFormatter
30 references to TextFormatter
PresentationCore (10)
System\Windows\Media\FormattedText.cs (3)
866
TextFormatter
_formatter;
887
_formatter =
TextFormatter
.FromCurrentDispatcher(text._textFormattingMode);
1532
_minWidth =
TextFormatter
.FromCurrentDispatcher(_textFormattingMode).FormatMinMaxParagraphWidth(
System\Windows\Media\textformatting\TextFormatter.cs (7)
42
static public
TextFormatter
Create(TextFormattingMode textFormattingMode)
57
static public
TextFormatter
Create()
72
static internal
TextFormatter
CreateFromContext(TextFormatterContext soleContext)
88
static internal
TextFormatter
CreateFromContext(TextFormatterContext soleContext, TextFormattingMode textFormattingMode)
105
static internal
TextFormatter
FromCurrentDispatcher()
118
static internal
TextFormatter
FromCurrentDispatcher(TextFormattingMode textFormattingMode)
125
TextFormatter
defaultTextFormatter;
PresentationFramework (20)
MS\Internal\Documents\TextBoxLine.cs (1)
174
internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache,
TextFormatter
formatter)
MS\Internal\Documents\TextBoxView.cs (7)
1520
TextFormatter
formatter =
TextFormatter
.FromCurrentDispatcher(textFormattingMode);
1697
TextFormatter
formatter =
TextFormatter
.FromCurrentDispatcher(textFormattingMode);
3131
_textFormatter = System.Windows.Media.TextFormatting.
TextFormatter
.FromCurrentDispatcher(textFormattingMode);
3145
internal
TextFormatter
TextFormatter
3155
private
TextFormatter
_textFormatter;
MS\Internal\PtsHost\PtsCache.cs (2)
453
_contextPool[index].TextFormatter =
TextFormatter
.CreateFromContext(textFormatterContext, textFormattingMode);
795
internal
TextFormatter
TextFormatter;
MS\Internal\PtsHost\PtsContext.cs (2)
395
internal
TextFormatter
TextFormatter
607
private
TextFormatter
_textFormatter;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
21
internal TextFormatterHost(
TextFormatter
textFormatter, TextFormattingMode textFormattingMode, double pixelsPerDip)
84
internal
TextFormatter
TextFormatter;
MS\Internal\PtsHost\TextParagraph.cs (1)
185
TextFormatter
textFormatter = StructuralCache.TextFormatterHost.TextFormatter;
System\Windows\Controls\TextBlock.cs (5)
2650
internal
TextFormatter
TextFormatter
2659
_textFormatterDisplay = System.Windows.Media.TextFormatting.
TextFormatter
.FromCurrentDispatcher(textFormattingMode);
2667
_textFormatterIdeal = System.Windows.Media.TextFormatting.
TextFormatter
.FromCurrentDispatcher(textFormattingMode);
3817
private
TextFormatter
_textFormatterIdeal;
3822
private
TextFormatter
_textFormatterDisplay;