81 references to LeftToRight
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
65_lazyToolTipTextBlock.FlowDirection = FlowDirection.LeftToRight;
PresentationCore (8)
MS\Internal\TextFormatting\FullTextLine.cs (2)
1448(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight), 1464(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight),
MS\Internal\TextFormatting\LineServices.cs (2)
1362return FlowDirection.LeftToRight; 1376return FlowDirection.LeftToRight;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
877FlowDirection.LeftToRight,
MS\Internal\TextFormatting\TextStore.cs (2)
992bool leftToRight = (flowDirection == FlowDirection.LeftToRight); 2707else if (!stack.Push(modifier.FlowDirection == FlowDirection.LeftToRight))
System\Windows\Media\FormattedText.cs (1)
1187case FlowDirection.LeftToRight:
PresentationFramework (54)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
661SetMarkerTransform(_leftMarker, start, null, startFlowDirection == FlowDirection.LeftToRight ? 1 : -1); 662SetMarkerTransform(_rightMarker, end, start, endFlowDirection == FlowDirection.LeftToRight ? -1 : 1); 868flowDirection = (sign > 0 ? FlowDirection.LeftToRight : FlowDirection.RightToLeft);
MS\Internal\Documents\DocumentPageHost.cs (1)
99pageVisualHost.SetValue(FlowDirectionProperty, FlowDirection.LeftToRight);
MS\Internal\Documents\FlowDocumentView.cs (1)
181PtsHelper.UpdateMirroringTransform(FlowDirection, FlowDirection.LeftToRight, _pageVisual, safeArrangeSize.Width);
MS\Internal\Documents\PageCache.cs (1)
120if (flowDirection == FlowDirection.LeftToRight)
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
870PtsHelper.UpdateMirroringTransform(FlowDirection.LeftToRight, flowdirection, pageVisual, Size.Width);
MS\Internal\PtsHost\Pts.cs (1)
228fd = FlowDirection.LeftToRight;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
38public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore) : this(originalPaginator, new XmlStreamStore(annotationStore), FlowDirection.LeftToRight) 57public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, AnnotationStore annotationStore) : this(originalPaginator, annotationStore, FlowDirection.LeftToRight)
System\Windows\Controls\ComboBox.cs (1)
923FlowDirection parentFD = parent == null ? FlowDirection.LeftToRight : (FlowDirection)parent.GetValue(FlowDirectionProperty);
System\Windows\Controls\Image.cs (1)
411style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\MediaElement.cs (1)
103style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\Primitives\ScrollBar.cs (1)
784else if (sb.FlowDirection == FlowDirection.LeftToRight)
System\Windows\Controls\TextBlock.cs (1)
2192FlowDirection flowDirection = FlowDirection.LeftToRight;
System\Windows\Controls\TextRangeAdaptor.cs (1)
417case FlowDirection.LeftToRight:
System\Windows\Documents\FixedPage.cs (3)
51FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange); 598return FlowDirection.LeftToRight; 1268FlowDirection.LeftToRight,
System\Windows\Documents\FixedPageStructure.cs (12)
268FlowDirection.LeftToRight, 282FlowDirection.LeftToRight, 299FlowDirection.LeftToRight, 336FlowDirection.LeftToRight, 370FlowDirection.LeftToRight, 416FlowDirection.LeftToRight, 432FlowDirection.LeftToRight, 480FlowDirection.LeftToRight, 496FlowDirection.LeftToRight, 555FlowDirection.LeftToRight, 624FlowDirection.LeftToRight, 655FlowDirection.LeftToRight,
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
71FlowDirection.LeftToRight,
System\Windows\Documents\FixedSOMTable.cs (1)
45FlowDirection.LeftToRight,
System\Windows\Documents\FixedSOMTextRun.cs (1)
241element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditor.cs (1)
495inputFlowDirection = FlowDirection.LeftToRight;
System\windows\Documents\TextEditorCharacters.cs (1)
444TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorParagraphs.cs (1)
142FlowDirection.LeftToRight, /*applyToParagraphs*/true);
System\windows\Documents\TextEditorTyping.cs (4)
795flowDirection == FlowDirection.LeftToRight && margin.Left > 0 || 1225((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.LeftToRight, /*applyToParagraphs*/true); 1230UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1231This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
System\Windows\Documents\TextRangeEdit.cs (2)
1103textAlignment = (flowDirection == FlowDirection.LeftToRight) ? TextAlignment.Left : TextAlignment.Right; 1107textAlignment = (flowDirection == FlowDirection.LeftToRight) ? TextAlignment.Right : TextAlignment.Left;
System\windows\Documents\TextSelection.cs (3)
1991if (renderScopeFlowDirection == FlowDirection.LeftToRight) 1993if (paragraphFlowDirection == FlowDirection.LeftToRight && 2008if (paragraphFlowDirection == FlowDirection.LeftToRight &&
System\Windows\FrameworkElement.cs (7)
3639System.Windows.FlowDirection.LeftToRight, // default value 3683get { return IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight; } 3713return value == FlowDirection.LeftToRight || value == FlowDirection.RightToLeft; 3963FlowDirection parentFlowDirection = FlowDirection.LeftToRight; // Assume LTR if no parent is found. 4003FlowDirection flowDirection = FlowDirection.LeftToRight; 4042return ((parentFD == FlowDirection.LeftToRight && thisFD == FlowDirection.RightToLeft) || 4043(parentFD == FlowDirection.RightToLeft && thisFD == FlowDirection.LeftToRight));
System\Windows\Window.cs (1)
6843if ( this.FlowDirection == FlowDirection.LeftToRight )
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
517if ((e.Key == Key.Left) == (FlowDirection == FlowDirection.LeftToRight))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2700else if ((e.Key == Key.Left) == (FlowDirection == FlowDirection.LeftToRight)) 2703FocusNavigationDirection direction = (FlowDirection == FlowDirection.LeftToRight ? FocusNavigationDirection.Left : FocusNavigationDirection.Right); 2731if ((FlowDirection == FlowDirection.LeftToRight && DoubleUtil.GreaterThan(predictedFocusedOrigin.X, focusedOrigin.X)) ||
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (5)
1321(isDropDownPhysicallyPositionedLeft && FlowDirection == FlowDirection.LeftToRight) || 1347popupChildMargin = (FlowDirection == FlowDirection.LeftToRight) ? popupChild.Margin.Left : popupChild.Margin.Right ; 1357if (FlowDirection == FlowDirection.LeftToRight) 1376if (FlowDirection == FlowDirection.LeftToRight) 1389if (FlowDirection == FlowDirection.LeftToRight)
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
341double offsetX = FlowDirection == FlowDirection.LeftToRight ? 0.0 : -popupSize.Width;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
177SW.FlowDirection toFlowDirection = ((fromRTL == SWF.RightToLeft.Yes) ? SW.FlowDirection.RightToLeft : SW.FlowDirection.LeftToRight);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
117case SW.FlowDirection.LeftToRight: