18 references to Right
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
368case TextAlignment.Right:
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
255case TextAlignment.Right:
PresentationFramework (16)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
539if (_lineProperties.TextAlignmentInternal == TextAlignment.Right) 581return ((_lineProperties.TextAlignmentInternal == TextAlignment.Right || _lineProperties.TextAlignmentInternal == TextAlignment.Center) && IsWidthAdjusted);
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2850case TextAlignment.Right: 2880textAlignment = TextAlignment.Right;
src\Framework\MS\Internal\PtsHost\Line.cs (2)
1132if ((_textAlignment == TextAlignment.Center || _textAlignment == TextAlignment.Right) && !ShowEllipses) 1184return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.Center) && IsWidthAdjusted);
src\Framework\MS\Internal\Text\Line.cs (1)
595return ((_textAlignment == TextAlignment.Right || _textAlignment == TextAlignment.Center) && IsWidthAdjusted);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
3211case TextAlignment.Right:
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
220case TextAlignment.Right:
src\Framework\System\Windows\Documents\Block.cs (1)
543|| value == TextAlignment.Right;
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (1)
120TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (5)
1107textAlignment = (flowDirection == FlowDirection.LeftToRight) ? TextAlignment.Left : TextAlignment.Right; 1109else if (textAlignment == TextAlignment.Right) 1111textAlignment = (flowDirection == FlowDirection.LeftToRight) ? TextAlignment.Right : TextAlignment.Left; 1172case TextAlignment.Right: 1196textAlignment = TextAlignment.Right;