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