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