18 references to Center
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
372
case TextAlignment.
Center
:
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
266
case TextAlignment.
Center
:
PresentationFramework (16)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (3)
543
else if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
550
if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
581
return ((_lineProperties.TextAlignmentInternal == TextAlignment.Right || _lineProperties.TextAlignmentInternal == TextAlignment.
Center
) && IsWidthAdjusted);
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2854
case TextAlignment.
Center
:
2884
textAlignment = TextAlignment.
Center
;
src\Framework\MS\Internal\PtsHost\Line.cs (3)
1132
if ((_textAlignment == TextAlignment.
Center
|| _textAlignment == TextAlignment.Right) && !ShowEllipses)
1144
if (_textAlignment == TextAlignment.
Center
)
1184
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
src\Framework\MS\Internal\Text\Line.cs (2)
532
if (_textAlignment == TextAlignment.
Center
)
595
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
3215
case TextAlignment.
Center
:
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
223
case TextAlignment.
Center
:
src\Framework\System\Windows\Documents\Block.cs (1)
540
return value == TextAlignment.
Center
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (1)
105
TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.
Center
, /*applyToParagraphs*/true);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
1169
case TextAlignment.
Center
:
1193
textAlignment = TextAlignment.
Center
;