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)
2834case TextAlignment.Center: 2864textAlignment = TextAlignment.Center;
MS\Internal\PtsHost\Line.cs (3)
1106if ((_textAlignment == TextAlignment.Center || _textAlignment == TextAlignment.Right) && !ShowEllipses) 1118if (_textAlignment == TextAlignment.Center) 1158return ((_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)
3106case 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;