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