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