18 references to Center
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
358
case TextAlignment.
Center
:
MS\Internal\TextFormatting\TextMetrics.cs (1)
244
case TextAlignment.
Center
:
PresentationFramework (16)
MS\Internal\Documents\TextBoxLine.cs (3)
533
else if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
540
if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
571
return ((_lineProperties.TextAlignmentInternal == TextAlignment.Right || _lineProperties.TextAlignmentInternal == TextAlignment.
Center
) && IsWidthAdjusted);
MS\Internal\Documents\TextBoxView.cs (2)
2833
case TextAlignment.
Center
:
2863
textAlignment = TextAlignment.
Center
;
MS\Internal\PtsHost\Line.cs (3)
1105
if ((_textAlignment == TextAlignment.
Center
|| _textAlignment == TextAlignment.Right) && !ShowEllipses)
1117
if (_textAlignment == TextAlignment.
Center
)
1157
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
MS\Internal\Text\Line.cs (2)
521
if (_textAlignment == TextAlignment.
Center
)
584
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
System\Windows\Controls\TextBlock.cs (1)
3105
case TextAlignment.
Center
:
System\Windows\Controls\TextRangeAdaptor.cs (1)
212
case TextAlignment.
Center
:
System\Windows\Documents\Block.cs (1)
513
return value == TextAlignment.
Center
System\windows\Documents\TextEditorParagraphs.cs (1)
86
TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.
Center
, /*applyToParagraphs*/true);
System\Windows\Documents\TextRangeEdit.cs (2)
1164
case TextAlignment.
Center
:
1188
textAlignment = TextAlignment.
Center
;