88 references to RightToLeft
PresentationCore (9)
MS\Internal\TextFormatting\FullTextLine.cs (2)
1450
(RightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight),
1466
(RightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight),
MS\Internal\TextFormatting\LineServices.cs (1)
1367
return FlowDirection.
RightToLeft
;
MS\Internal\TextFormatting\TextProperties.cs (1)
44
if (_paragraphProperties.FlowDirection == FlowDirection.
RightToLeft
)
MS\Internal\TextFormatting\TextStore.cs (2)
1187
scope.TextModifier.FlowDirection == FlowDirection.
RightToLeft
:
1667
runInfo.TextModifierScope.TextModifier.FlowDirection == FlowDirection.
RightToLeft
:
System\Windows\Media\FormattedText.cs (3)
281
if ((int)flowDirection < 0 || (int)flowDirection > (int)FlowDirection.
RightToLeft
)
1168
case FlowDirection.
RightToLeft
:
1631
if (FlowDirection == FlowDirection.
RightToLeft
)
PresentationFramework (58)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
872
flowDirection = (sign > 0 ? FlowDirection.LeftToRight : FlowDirection.
RightToLeft
);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
995
&& this.FlowDirection == FlowDirection.
RightToLeft
1231
return (this.IsExpanded && this.FlowDirection == FlowDirection.
RightToLeft
&&
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
369
if (_document.FlowDirection == FlowDirection.
RightToLeft
)
MS\Internal\Documents\TextBoxLine.cs (1)
228
_line.Draw(ctx, new Point(delta, 0), ((_lineProperties.FlowDirection == FlowDirection.
RightToLeft
) ? InvertAxes.Horizontal : InvertAxes.None));
MS\Internal\Documents\TextDocumentView.cs (5)
3280
if (flowDirection == FlowDirection.
RightToLeft
)
3298
if (flowDirection == FlowDirection.
RightToLeft
)
3324
if (flowDirection == FlowDirection.
RightToLeft
)
3342
if (flowDirection == FlowDirection.
RightToLeft
)
3360
if (flowDirection == FlowDirection.
RightToLeft
)
MS\Internal\Ink\InkCollectionBehavior.cs (1)
358
_cachedPenCursor = PenCursorManager.GetPenCursor(da, false, (this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
), dpi.DpiScaleX, dpi.DpiScaleY);
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
106
(this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
));
MS\Internal\Ink\SelectionEditor.cs (1)
117
(this.InkCanvas.FlowDirection == FlowDirection.
RightToLeft
));
MS\Internal\PtsHost\Line.cs (1)
264
_mirror = (lineProps.FlowDirection == FlowDirection.
RightToLeft
);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
101
bool mirror = (lineProps.FlowDirection == FlowDirection.
RightToLeft
);
MS\Internal\PtsHost\Pts.cs (2)
225
fd = FlowDirection.
RightToLeft
;
242
case FlowDirection.
RightToLeft
:
MS\Internal\Text\Line.cs (1)
83
_mirror = (lineProperties.FlowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\ComboBox.cs (1)
1331
bool isRTL = (FlowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\DataGrid.cs (1)
5630
if (this.FlowDirection == FlowDirection.
RightToLeft
)
System\Windows\Controls\DateTimeHelper.cs (1)
212
bool isRightToLeft = fe.FlowDirection==FlowDirection.
RightToLeft
;
System\Windows\Controls\GridSplitter.cs (1)
960
if (FlowDirection == FlowDirection.
RightToLeft
)
System\Windows\Controls\ItemsControl.cs (1)
3380
return (flowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\MenuItem.cs (1)
1878
if (flowDirection == FlowDirection.
RightToLeft
)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
396
if (FlowDirection == FlowDirection.
RightToLeft
)
System\Windows\Controls\Primitives\Popup.cs (1)
1841
if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.
RightToLeft
)
System\Windows\Controls\ScrollViewer.cs (1)
1059
bool fInvertForRTL = (FlowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\Slider.cs (1)
192
return slider.IsDirectionReversed != (slider.FlowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\TextRangeAdaptor.cs (1)
421
case FlowDirection.
RightToLeft
:
System\Windows\Controls\TreeView.cs (1)
628
bool invert = (FlowDirection == FlowDirection.
RightToLeft
);
System\Windows\Controls\TreeViewItem.cs (1)
638
bool invert = (FlowDirection == FlowDirection.
RightToLeft
);
System\windows\Documents\CaretElement.cs (2)
662
flowDirection == FlowDirection.
RightToLeft
? -20 : 20,
706
if (flowDirection == FlowDirection.
RightToLeft
)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
208
element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
System\Windows\Documents\FixedSOMTextRun.cs (1)
239
element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
System\windows\Documents\TextEditor.cs (1)
483
inputFlowDirection = FlowDirection.
RightToLeft
;
System\windows\Documents\TextEditorCharacters.cs (1)
435
TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.
RightToLeft
);
System\windows\Documents\TextEditorParagraphs.cs (1)
152
FlowDirection.
RightToLeft
, /*applyToParagraphs*/true);
System\windows\Documents\TextEditorSelection.cs (1)
2031
return (flowDirection == FlowDirection.
RightToLeft
);
System\windows\Documents\TextEditorTyping.cs (4)
787
flowDirection == FlowDirection.
RightToLeft
&& margin.Right > 0 ||
1232
((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.
RightToLeft
, /*applyToParagraphs*/true);
1237
UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
1238
This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.
RightToLeft
);
System\Windows\Documents\TextRange.cs (1)
1655
(FlowDirection)textSegment.Start.GetValue(Paragraph.FlowDirectionProperty) == FlowDirection.
RightToLeft
)
System\windows\Documents\TextSelection.cs (3)
1984
else if (paragraphFlowDirection == FlowDirection.
RightToLeft
&&
1999
else if (paragraphFlowDirection == FlowDirection.
RightToLeft
&&
2255
if (flowDirection != FlowDirection.
RightToLeft
)
System\Windows\FrameworkElement.cs (6)
116
if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.
RightToLeft
)
3663
fe.IsRightToLeft = ((FlowDirection)e.NewValue) == FlowDirection.
RightToLeft
;
3674
get { return IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight; }
3704
return value == FlowDirection.LeftToRight || value == FlowDirection.
RightToLeft
;
4033
return ((parentFD == FlowDirection.LeftToRight && thisFD == FlowDirection.
RightToLeft
) ||
4034
(parentFD == FlowDirection.
RightToLeft
&& thisFD == FlowDirection.LeftToRight));
System\Windows\Shell\WindowChromeWorker.cs (1)
454
bool compliment = _window.FlowDirection == FlowDirection.
RightToLeft
;
System\Windows\Window.cs (4)
1892
if (FlowDirection == FlowDirection.
RightToLeft
)
5003
if (FlowDirection == FlowDirection.
RightToLeft
)
6829
else if ( this.FlowDirection == FlowDirection.
RightToLeft
)
7448
if (flowDirection == FlowDirection.
RightToLeft
)
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
720
if (FlowDirection == FlowDirection.
RightToLeft
)
728
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\BulletChrome.cs (2)
720
if (FlowDirection == FlowDirection.
RightToLeft
)
728
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Luna (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
290
if (FlowDirection == FlowDirection.
RightToLeft
)
297
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
PresentationFramework.Royale (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
290
if (FlowDirection == FlowDirection.
RightToLeft
)
297
if (FlowDirection == FlowDirection.
RightToLeft
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
30
return _platformCulture.TextInfo.IsRightToLeft ? FlowDirection.
RightToLeft
: FlowDirection.LeftToRight;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
2229
bool isRTL = (FlowDirection == FlowDirection.
RightToLeft
);
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1010
if (FlowDirection == FlowDirection.
RightToLeft
)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2733
(FlowDirection == FlowDirection.
RightToLeft
&& DoubleUtil.LessThan(predictedFocusedOrigin.X, focusedOrigin.X)))
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
814
if (FlowDirection == FlowDirection.
RightToLeft
)
1310
(!isDropDownPhysicallyPositionedLeft && FlowDirection == FlowDirection.
RightToLeft
);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
175
SW.FlowDirection toFlowDirection = ((fromRTL == SWF.RightToLeft.Yes) ? SW.FlowDirection.
RightToLeft
: SW.FlowDirection.LeftToRight);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
113
case SW.FlowDirection.
RightToLeft
: