18 references to Center
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
359
case TextAlignment.
Center
:
MS\Internal\TextFormatting\TextMetrics.cs (1)
245
case TextAlignment.
Center
:
PresentationFramework (16)
MS\Internal\Documents\TextBoxLine.cs (3)
534
else if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
541
if (_lineProperties.TextAlignmentInternal == TextAlignment.
Center
)
572
return ((_lineProperties.TextAlignmentInternal == TextAlignment.Right || _lineProperties.TextAlignmentInternal == TextAlignment.
Center
) && IsWidthAdjusted);
MS\Internal\Documents\TextBoxView.cs (2)
2874
case TextAlignment.
Center
:
2904
textAlignment = TextAlignment.
Center
;
MS\Internal\PtsHost\Line.cs (3)
1118
if ((_textAlignment == TextAlignment.
Center
|| _textAlignment == TextAlignment.Right) && !ShowEllipses)
1130
if (_textAlignment == TextAlignment.
Center
)
1170
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
MS\Internal\Text\Line.cs (2)
522
if (_textAlignment == TextAlignment.
Center
)
585
return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.
Center
) && IsWidthAdjusted);
System\Windows\Controls\TextBlock.cs (1)
3115
case TextAlignment.
Center
:
System\Windows\Controls\TextRangeAdaptor.cs (1)
213
case TextAlignment.
Center
:
System\Windows\Documents\Block.cs (1)
514
return value == TextAlignment.
Center
System\windows\Documents\TextEditorParagraphs.cs (1)
87
TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.
Center
, /*applyToParagraphs*/true);
System\Windows\Documents\TextRangeEdit.cs (2)
1165
case TextAlignment.
Center
:
1189
textAlignment = TextAlignment.
Center
;