88 references to RightToLeft
PresentationCore (9)
MS\Internal\TextFormatting\FullTextLine.cs (2)
1449(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight), 1465(RightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight),
MS\Internal\TextFormatting\LineServices.cs (1)
1366return FlowDirection.RightToLeft;
MS\Internal\TextFormatting\TextProperties.cs (1)
43if (_paragraphProperties.FlowDirection == FlowDirection.RightToLeft)
MS\Internal\TextFormatting\TextStore.cs (2)
1186scope.TextModifier.FlowDirection == FlowDirection.RightToLeft : 1666runInfo.TextModifierScope.TextModifier.FlowDirection == FlowDirection.RightToLeft :
System\Windows\Media\FormattedText.cs (3)
280if ((int)flowDirection < 0 || (int)flowDirection > (int)FlowDirection.RightToLeft) 1167case FlowDirection.RightToLeft: 1630if (FlowDirection == FlowDirection.RightToLeft)
PresentationFramework (58)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
871flowDirection = (sign > 0 ? FlowDirection.LeftToRight : FlowDirection.RightToLeft);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
994&& this.FlowDirection == FlowDirection.RightToLeft 1230return (this.IsExpanded && this.FlowDirection == FlowDirection.RightToLeft &&
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
368if (_document.FlowDirection == FlowDirection.RightToLeft)
MS\Internal\Documents\TextBoxLine.cs (1)
227_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.RightToLeft) ? InvertAxes.Horizontal : InvertAxes.None));
MS\Internal\Documents\TextDocumentView.cs (5)
3279if (flowDirection == FlowDirection.RightToLeft) 3297if (flowDirection == FlowDirection.RightToLeft) 3323if (flowDirection == FlowDirection.RightToLeft) 3341if (flowDirection == FlowDirection.RightToLeft) 3359if (flowDirection == FlowDirection.RightToLeft)
MS\Internal\Ink\InkCollectionBehavior.cs (1)
357_cachedPenCursor = PenCursorManager.GetPenCursor(da, false, (this.InkCanvas.FlowDirection == FlowDirection.RightToLeft), dpi.DpiScaleX, dpi.DpiScaleY);
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
105(this.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
MS\Internal\Ink\SelectionEditor.cs (1)
116(this.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
MS\Internal\PtsHost\Line.cs (1)
263_mirror = (lineProps.FlowDirection == FlowDirection.RightToLeft);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
100bool mirror = (lineProps.FlowDirection == FlowDirection.RightToLeft);
MS\Internal\PtsHost\Pts.cs (2)
224fd = FlowDirection.RightToLeft; 241case FlowDirection.RightToLeft:
MS\Internal\Text\Line.cs (1)
82_mirror = (lineProperties.FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\ComboBox.cs (1)
1330bool isRTL = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\DataGrid.cs (1)
5629if (this.FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\DateTimeHelper.cs (1)
211bool isRightToLeft = fe.FlowDirection==FlowDirection.RightToLeft;
System\Windows\Controls\GridSplitter.cs (1)
959if (FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\ItemsControl.cs (1)
3379return (flowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\MenuItem.cs (1)
1877if (flowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
395if (FlowDirection == FlowDirection.RightToLeft)
System\Windows\Controls\Primitives\Popup.cs (1)
1840if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.RightToLeft)
System\Windows\Controls\ScrollViewer.cs (1)
1058bool fInvertForRTL = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\Slider.cs (1)
191return slider.IsDirectionReversed != (slider.FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\TextRangeAdaptor.cs (1)
420case FlowDirection.RightToLeft:
System\Windows\Controls\TreeView.cs (1)
627bool invert = (FlowDirection == FlowDirection.RightToLeft);
System\Windows\Controls\TreeViewItem.cs (1)
637bool invert = (FlowDirection == FlowDirection.RightToLeft);
System\windows\Documents\CaretElement.cs (2)
661flowDirection == FlowDirection.RightToLeft ? -20 : 20, 705if (flowDirection == FlowDirection.RightToLeft)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
207element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\FixedSOMTextRun.cs (1)
238element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextEditor.cs (1)
482inputFlowDirection = FlowDirection.RightToLeft;
System\windows\Documents\TextEditorCharacters.cs (1)
434TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextEditorParagraphs.cs (1)
151FlowDirection.RightToLeft, /*applyToParagraphs*/true);
System\windows\Documents\TextEditorSelection.cs (1)
2030return (flowDirection == FlowDirection.RightToLeft);
System\windows\Documents\TextEditorTyping.cs (4)
786flowDirection == FlowDirection.RightToLeft && margin.Right > 0 || 1231((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.RightToLeft, /*applyToParagraphs*/true); 1236UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 1237This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\TextRange.cs (1)
1654(FlowDirection)textSegment.Start.GetValue(Paragraph.FlowDirectionProperty) == FlowDirection.RightToLeft)
System\windows\Documents\TextSelection.cs (3)
1983else if (paragraphFlowDirection == FlowDirection.RightToLeft && 1998else if (paragraphFlowDirection == FlowDirection.RightToLeft && 2254if (flowDirection != FlowDirection.RightToLeft)
System\Windows\FrameworkElement.cs (6)
115if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft) 3662fe.IsRightToLeft = ((FlowDirection)e.NewValue) == FlowDirection.RightToLeft; 3673get { return IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight; } 3703return value == FlowDirection.LeftToRight || value == FlowDirection.RightToLeft; 4032return ((parentFD == FlowDirection.LeftToRight && thisFD == FlowDirection.RightToLeft) || 4033(parentFD == FlowDirection.RightToLeft && thisFD == FlowDirection.LeftToRight));
System\Windows\Shell\WindowChromeWorker.cs (1)
453bool compliment = _window.FlowDirection == FlowDirection.RightToLeft;
System\Windows\Window.cs (4)
1891if (FlowDirection == FlowDirection.RightToLeft) 5002if (FlowDirection == FlowDirection.RightToLeft) 6828else if ( this.FlowDirection == FlowDirection.RightToLeft ) 7447if (flowDirection == FlowDirection.RightToLeft)
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
719if (FlowDirection == FlowDirection.RightToLeft) 727if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
719if (FlowDirection == FlowDirection.RightToLeft) 727if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Luna (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
287if (FlowDirection == FlowDirection.RightToLeft) 294if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
PresentationFramework.Royale (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
287if (FlowDirection == FlowDirection.RightToLeft) 294if (FlowDirection == FlowDirection.RightToLeft)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
29return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
2228bool isRTL = (FlowDirection == FlowDirection.RightToLeft);
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1009if (FlowDirection == FlowDirection.RightToLeft)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2732(FlowDirection == FlowDirection.RightToLeft && DoubleUtil.LessThan(predictedFocusedOrigin.X, focusedOrigin.X)))
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
813if (FlowDirection == FlowDirection.RightToLeft) 1309(!isDropDownPhysicallyPositionedLeft && FlowDirection == FlowDirection.RightToLeft);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
174SW.FlowDirection toFlowDirection = ((fromRTL == SWF.RightToLeft.Yes) ? SW.FlowDirection.RightToLeft : SW.FlowDirection.LeftToRight);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
112case SW.FlowDirection.RightToLeft: