88 references to RightToLeft
PresentationCore (9)
MS\Internal\TextFormatting\FullTextLine.cs (2)
1463(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight), 1479(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight),
MS\Internal\TextFormatting\LineServices.cs (1)
1372return FlowDirection.RightToLeft;
MS\Internal\TextFormatting\TextProperties.cs (1)
50if (_paragraphProperties.FlowDirection == FlowDirection.RightToLeft)
MS\Internal\TextFormatting\TextStore.cs (2)
1202scope.TextModifier.FlowDirection == FlowDirection.RightToLeft : 1682runInfo.TextModifierScope.TextModifier.FlowDirection == FlowDirection.RightToLeft :
System\Windows\Media\FormattedText.cs (3)
300if ((int)flowDirection < 0 || (int)flowDirection > (int)FlowDirection.RightToLeft) 1204case FlowDirection.RightToLeft: 1667if (FlowDirection == FlowDirection.RightToLeft)
PresentationFramework (58)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
874flowDirection = (sign > 0 ? FlowDirection.LeftToRight : FlowDirection.RightToLeft);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
1005&& this.FlowDirection == FlowDirection.RightToLeft 1241return (this.IsExpanded && this.FlowDirection == FlowDirection.RightToLeft &&
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
373if (_document.FlowDirection == FlowDirection.RightToLeft)
MS\Internal\Documents\TextBoxLine.cs (1)
235_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None));
MS\Internal\Documents\TextDocumentView.cs (5)
3326if (flowDirection == FlowDirection.RightToLeft) 3344if (flowDirection == FlowDirection.RightToLeft) 3370if (flowDirection == FlowDirection.RightToLeft) 3388if (flowDirection == FlowDirection.RightToLeft) 3406if (flowDirection == FlowDirection.RightToLeft)
MS\Internal\Ink\InkCollectionBehavior.cs (1)
368_cachedPenCursor = PenCursorManager.GetPenCursor(da, false, (this.InkCanvas.FlowDirection == FlowDirection.RightToLeft), dpi.DpiScaleX, dpi.DpiScaleY);
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
119(this.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
MS\Internal\Ink\SelectionEditor.cs (1)
132(this.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
MS\Internal\PtsHost\Line.cs (1)
281_mirror = (lineProps.FlowDirection == FlowDirection.RightToLeft);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
108bool mirror = (lineProps.FlowDirection == FlowDirection.RightToLeft);
MS\Internal\PtsHost\Pts.cs (2)
230fd = FlowDirection.RightToLeft; 247case FlowDirection.RightToLeft:
MS\Internal\Text\Line.cs (1)
90_mirror = (lineProperties.FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\ComboBox.cs (1)
1343bool isRTL = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\DataGrid.cs (1)
5671if (this.FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\DateTimeHelper.cs (1)
214bool isRightToLeft = fe.FlowDirection==FlowDirection.RightToLeft;
System\Windows\Controls\GridSplitter.cs (1)
960if (FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\ItemsControl.cs (1)
3419return (flowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\MenuItem.cs (1)
1895if (flowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
396if (FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\Primitives\Popup.cs (1)
1835if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.RightToLeft)
System\Windows\Controls\ScrollViewer.cs (1)
1067bool fInvertForRTL = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\Slider.cs (1)
203return slider.IsDirectionReversed != (slider.FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\TextRangeAdaptor.cs (1)
423case FlowDirection.RightToLeft:
System\Windows\Controls\TreeView.cs (1)
633bool invert = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\TreeViewItem.cs (1)
648bool invert = (FlowDirection == FlowDirection.RightToLeft);
System\windows\Documents\CaretElement.cs (2)
666flowDirection == FlowDirection.RightToLeft ? -20 : 20, 710if (flowDirection == FlowDirection.RightToLeft)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
212element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\FixedSOMTextRun.cs (1)
241element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextEditor.cs (1)
497inputFlowDirection = FlowDirection.RightToLeft;
System\windows\Documents\TextEditorCharacters.cs (1)
451TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextEditorParagraphs.cs (1)
169FlowDirection.RightToLeft, /*applyToParagraphs*/true);
System\windows\Documents\TextEditorSelection.cs (1)
2046return (flowDirection == FlowDirection.RightToLeft);
System\windows\Documents\TextEditorTyping.cs (4)
805flowDirection == FlowDirection.RightToLeft && margin.Right > 0 || 1250((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.RightToLeft, /*applyToParagraphs*/true); 1255UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 1256This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\TextRange.cs (1)
1665(FlowDirection)textSegment.Start.GetValue(Paragraph.FlowDirectionProperty) == FlowDirection.RightToLeft)
System\windows\Documents\TextSelection.cs (3)
2002else if (paragraphFlowDirection == FlowDirection.RightToLeft && 2017else if (paragraphFlowDirection == FlowDirection.RightToLeft && 2273if (flowDirection != FlowDirection.RightToLeft)
System\Windows\FrameworkElement.cs (6)
134if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft) 3683fe.IsRightToLeft = ((FlowDirection)e.NewValue) == FlowDirection.RightToLeft; 3694get { return IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight; } 3724return value == FlowDirection.LeftToRight || value == FlowDirection.RightToLeft; 4053return ((parentFD == FlowDirection.LeftToRight && thisFD == FlowDirection.RightToLeft) || 4054(parentFD == FlowDirection.RightToLeft && thisFD == FlowDirection.LeftToRight));
System\Windows\Shell\WindowChromeWorker.cs (1)
459bool compliment = _window.FlowDirection == FlowDirection.RightToLeft;
System\Windows\Window.cs (4)
1917if (FlowDirection == FlowDirection.RightToLeft) 5038if (FlowDirection == FlowDirection.RightToLeft) 6860else if ( this.FlowDirection == FlowDirection.RightToLeft ) 7489if (flowDirection == FlowDirection.RightToLeft)
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
712if (FlowDirection == FlowDirection.RightToLeft) 720if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
712if (FlowDirection == FlowDirection.RightToLeft) 720if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Luna (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
294if (FlowDirection == FlowDirection.RightToLeft) 301if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Royale (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
294if (FlowDirection == FlowDirection.RightToLeft) 301if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
32return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
2257bool isRTL = (FlowDirection == FlowDirection.RightToLeft);
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1012if (FlowDirection == FlowDirection.RightToLeft)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2734(FlowDirection == FlowDirection.RightToLeft && DoubleUtil.LessThan(predictedFocusedOrigin.X, focusedOrigin.X)))
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
820if (FlowDirection == FlowDirection.RightToLeft) 1325(!isDropDownPhysicallyPositionedLeft && FlowDirection == FlowDirection.RightToLeft);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
179SW.FlowDirection toFlowDirection = ((fromRTL == SWF.RightToLeft.Yes) ? SW.FlowDirection.RightToLeft : SW.FlowDirection.LeftToRight);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
114case SW.FlowDirection.RightToLeft: