System\Windows\Annotations\AnnotationDocumentPaginator.cs (5)
43public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore) : this(originalPaginator, new XmlStreamStore(annotationStore), FlowDirection.LeftToRight)
53public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore, FlowDirection flowDirection) : this(originalPaginator, new XmlStreamStore(annotationStore), flowDirection)
62public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, AnnotationStore annotationStore) : this(originalPaginator, annotationStore, FlowDirection.LeftToRight)
72public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, AnnotationStore annotationStore, FlowDirection flowDirection)
526private FlowDirection _flowDirection;
System\Windows\Documents\FixedPageStructure.cs (12)
274FlowDirection.LeftToRight,
288FlowDirection.LeftToRight,
305FlowDirection.LeftToRight,
342FlowDirection.LeftToRight,
376FlowDirection.LeftToRight,
422FlowDirection.LeftToRight,
438FlowDirection.LeftToRight,
486FlowDirection.LeftToRight,
502FlowDirection.LeftToRight,
561FlowDirection.LeftToRight,
630FlowDirection.LeftToRight,
661FlowDirection.LeftToRight,
System\windows\Documents\TextEditorTyping.cs (9)
800FlowDirection flowDirection = paragraphOrBlockUIContainer.FlowDirection;
804flowDirection == FlowDirection.LeftToRight && margin.Left > 0 ||
805flowDirection == FlowDirection.RightToLeft && margin.Right > 0 ||
1234((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.LeftToRight, /*applyToParagraphs*/true);
1239UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
1240This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
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);