81 references to RightToLeft
PresentationCore (9)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
1496
(RightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight),
1512
(RightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight),
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (1)
1635
return FlowDirection.
RightToLeft
;
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (1)
52
if (_paragraphProperties.FlowDirection == FlowDirection.
RightToLeft
)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (2)
1213
scope.TextModifier.FlowDirection == FlowDirection.
RightToLeft
:
1693
runInfo.TextModifierScope.TextModifier.FlowDirection == FlowDirection.
RightToLeft
:
Core\CSharp\System\Windows\Media\FormattedText.cs (3)
310
if ((int)flowDirection < 0 || (int)flowDirection > (int)FlowDirection.
RightToLeft
)
1217
case FlowDirection.
RightToLeft
:
1684
if (FlowDirection == FlowDirection.
RightToLeft
)
PresentationFramework (59)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
896
flowDirection = (sign > 0 ? FlowDirection.LeftToRight : FlowDirection.
RightToLeft
);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
1021
&& this.FlowDirection == FlowDirection.
RightToLeft
1256
return (this.IsExpanded && this.FlowDirection == FlowDirection.
RightToLeft
&&
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
387
if (_document.FlowDirection == FlowDirection.
RightToLeft
)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
237
_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.
RightToLeft
) ? InvertAxes.Horizontal : InvertAxes.None));
src\Framework\MS\Internal\Documents\TextDocumentView.cs (5)
3335
if (flowDirection == FlowDirection.
RightToLeft
)
3353
if (flowDirection == FlowDirection.
RightToLeft
)
3379
if (flowDirection == FlowDirection.
RightToLeft
)
3397
if (flowDirection == FlowDirection.
RightToLeft
)
3415
if (flowDirection == FlowDirection.
RightToLeft
)
src\Framework\MS\Internal\Ink\InkCollectionBehavior.cs (1)
420
_cachedPenCursor = PenCursorManager.GetPenCursor(da, false, (this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
), dpi.DpiScaleX, dpi.DpiScaleY);
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
122
(this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
));
src\Framework\MS\Internal\Ink\SelectionEditor.cs (1)
139
(this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
));
src\Framework\MS\Internal\PtsHost\Line.cs (1)
284
_mirror = (lineProps.FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\MS\Internal\PtsHost\ListMarkerLine.cs (1)
112
bool mirror = (lineProps.FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\MS\Internal\PtsHost\Pts.cs (2)
234
fd = FlowDirection.
RightToLeft
;
251
case FlowDirection.
RightToLeft
:
src\Framework\MS\Internal\Text\Line.cs (1)
93
_mirror = (lineProperties.FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\ComboBox.cs (1)
1345
bool isRTL = (FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5676
if (this.FlowDirection == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
214
bool isRightToLeft = fe.FlowDirection==FlowDirection.
RightToLeft
;
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
962
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3350
return (flowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1937
if (flowDirection == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
398
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1839
if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
1094
bool fInvertForRTL = (FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\Slider.cs (1)
205
return slider.IsDirectionReversed != (slider.FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
431
case FlowDirection.
RightToLeft
:
src\Framework\System\Windows\Controls\TreeView.cs (1)
634
bool invert = (FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
649
bool invert = (FlowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\windows\Documents\CaretElement.cs (2)
670
flowDirection == FlowDirection.
RightToLeft
? -20 : 20,
714
if (flowDirection == FlowDirection.
RightToLeft
)
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (1)
218
element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
246
element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
src\Framework\System\windows\Documents\TextEditor.cs (1)
512
inputFlowDirection = FlowDirection.
RightToLeft
;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
453
TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.
RightToLeft
);
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (1)
170
FlowDirection.
RightToLeft
, /*applyToParagraphs*/true);
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2055
return (flowDirection == FlowDirection.
RightToLeft
);
src\Framework\System\windows\Documents\TextEditorTyping.cs (4)
822
flowDirection == FlowDirection.
RightToLeft
&& margin.Right > 0 ||
1267
((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.
RightToLeft
, /*applyToParagraphs*/true);
1272
UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
1273
This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
src\Framework\System\Windows\Documents\TextRange.cs (1)
1662
(FlowDirection)textSegment.Start.GetValue(Paragraph.FlowDirectionProperty) == FlowDirection.
RightToLeft
)
src\Framework\System\windows\Documents\TextSelection.cs (3)
2010
else if (paragraphFlowDirection == FlowDirection.
RightToLeft
&&
2025
else if (paragraphFlowDirection == FlowDirection.
RightToLeft
&&
2281
if (flowDirection != FlowDirection.
RightToLeft
)
src\Framework\System\Windows\FrameworkElement.cs (6)
131
if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.
RightToLeft
)
3682
fe.IsRightToLeft = ((FlowDirection)e.NewValue) == FlowDirection.
RightToLeft
;
3693
get { return IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight; }
3723
return value == FlowDirection.LeftToRight || value == FlowDirection.
RightToLeft
;
4052
return ((parentFD == FlowDirection.LeftToRight && thisFD == FlowDirection.
RightToLeft
) ||
4053
(parentFD == FlowDirection.
RightToLeft
&& thisFD == FlowDirection.LeftToRight));
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
496
if (_window.FlowDirection == FlowDirection.
RightToLeft
)
736
bool compliment = _window.FlowDirection == FlowDirection.
RightToLeft
;
src\Framework\System\Windows\Window.cs (4)
1953
if (FlowDirection == FlowDirection.
RightToLeft
)
5193
if (FlowDirection == FlowDirection.
RightToLeft
)
7161
else if ( this.FlowDirection == FlowDirection.
RightToLeft
)
7917
if (flowDirection == FlowDirection.
RightToLeft
)
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
718
if (FlowDirection == FlowDirection.
RightToLeft
)
726
if (FlowDirection == FlowDirection.
RightToLeft
)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
37
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
37
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Luna (3)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
299
if (FlowDirection == FlowDirection.
RightToLeft
)
306
if (FlowDirection == FlowDirection.
RightToLeft
)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
37
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Royale (3)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
299
if (FlowDirection == FlowDirection.
RightToLeft
)
306
if (FlowDirection == FlowDirection.
RightToLeft
)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
37
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (1)
26
this.FlowDirection = isTextRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
228
if (parentElement != null && parentElement.FlowDirection == FlowDirection.
RightToLeft
)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1296
return element.FlowDirection == FlowDirection.
RightToLeft
;