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