System\Windows\Annotations\AnnotationDocumentPaginator.cs (5)
38public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore) : this(originalPaginator, new XmlStreamStore(annotationStore), FlowDirection.LeftToRight)
48public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore, FlowDirection flowDirection) : this(originalPaginator, new XmlStreamStore(annotationStore), flowDirection)
57public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, AnnotationStore annotationStore) : this(originalPaginator, annotationStore, FlowDirection.LeftToRight)
67public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, AnnotationStore annotationStore, FlowDirection flowDirection)
521private FlowDirection _flowDirection;
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\TextEditorTyping.cs (9)
791FlowDirection flowDirection = paragraphOrBlockUIContainer.FlowDirection;
795flowDirection == FlowDirection.LeftToRight && margin.Left > 0 ||
796flowDirection == FlowDirection.RightToLeft && margin.Right > 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);
1241((TextSelection)This.Selection).ApplyPropertyValue(FlowDocument.FlowDirectionProperty, FlowDirection.RightToLeft, /*applyToParagraphs*/true);
1246UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
1247This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);