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