98 references to FlowDirectionProperty
PresentationFramework (96)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
805flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty); 834return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 841return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 866flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty);
MS\Internal\Documents\DocumentPageHost.cs (1)
98pageVisualHost.SetValue(FlowDirectionProperty, FlowDirection.LeftToRight);
MS\Internal\Documents\PageCache.cs (1)
118FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\Documents\UIElementIsland.cs (2)
76SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)_child).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\BaseParaClient.cs (1)
79_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\CellParaClient.cs (1)
112_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
462uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 628uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 758uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FigureParaClient.cs (1)
199_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FigureParagraph.cs (1)
119uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FloaterParaClient.cs (1)
188_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FloaterParagraph.cs (2)
166uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 380uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\Line.cs (2)
391FlowDirection paragraphFlowDirection = (FlowDirection)paragraphElement.GetValue(FrameworkElement.FlowDirectionProperty); 420FlowDirection parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\LineBase.cs (2)
190parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 264parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ListParaClient.cs (1)
55uint fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\PtsHelper.cs (2)
43visualChild.SetValue(FrameworkElement.FlowDirectionProperty, childFD); 48visualChild.ClearValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\Section.cs (2)
120StructuralCache.PageFlowDirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty); 221fswdir = PTS.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\SubpageParagraph.cs (3)
118uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 325uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 486uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\TableParagraph.cs (1)
156fswdirTable = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))
MS\Internal\PtsHost\TextParagraph.cs (1)
139fstxtprops.fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\Text\ComplexLine.cs (3)
188parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 417parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 489parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Controls\ComboBox.cs (2)
235cb._clonedElement?.CoerceValue(FrameworkElement.FlowDirectionProperty); 916FlowDirection parentFD = parent == null ? FlowDirection.LeftToRight : (FlowDirection)parent.GetValue(FlowDirectionProperty);
System\Windows\Controls\DataGridHelper.cs (2)
618object flowDirectionObj = element.ReadLocalValue(FrameworkElement.FlowDirectionProperty); 633element.SetValue(FrameworkElement.FlowDirectionProperty, flowDirectionObj);
System\Windows\Controls\DatePicker.cs (2)
1083_calendar.SetBinding(Calendar.FlowDirectionProperty, GetDatePickerBinding(DatePicker.FlowDirectionProperty));
System\Windows\Controls\Image.cs (1)
410style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\InkCanvas.cs (1)
315if (e.Property == FrameworkElement.FlowDirectionProperty)
System\Windows\Controls\MediaElement.cs (1)
102style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\Primitives\Popup.cs (3)
1840if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.RightToLeft) 2397if ((FlowDirection)target.GetValue(FlowDirectionProperty) != 2398(FlowDirection)child.GetValue(FlowDirectionProperty))
System\Windows\Controls\Primitives\PopupRoot.cs (1)
319FlowDirection childFlowDirection = (FlowDirection)child.GetValue(FlowDirectionProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
412FlowDirection flowWCP = (FlowDirection)tp.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Documents\Adorner.cs (1)
214adorner.SetBinding(FlowDirectionProperty, binding);
System\Windows\Documents\Block.cs (1)
254FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Block));
System\windows\Documents\CaretElement.cs (2)
659FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty); 704FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty);
System\Windows\Documents\FixedElement.cs (1)
84FrameworkElement.FlowDirectionProperty.AddOwner(
System\Windows\Documents\FixedPage.cs (1)
54FlowDirectionProperty.OverrideMetadata(typeof(FixedPage), metadata);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
207element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\FixedSOMTextRun.cs (2)
238element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 242element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
System\Windows\Documents\Inline.cs (1)
133FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Inline));
System\windows\Documents\TextEditor.cs (2)
490FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty); 496range.ApplyPropertyValue(FrameworkElement.FlowDirectionProperty, inputFlowDirection);
System\windows\Documents\TextEditorParagraphs.cs (2)
140TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty, 150TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextEditorSelection.cs (1)
2431return (FlowDirection)navigator.GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorTyping.cs (4)
1220UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1221This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1236UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 1237This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\TextRange.cs (1)
1623if (formattingProperty == FrameworkElement.FlowDirectionProperty)
System\Windows\Documents\TextRangeEdit.cs (7)
840parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 844parentFlowDirection = (FlowDirection)FrameworkElement.FlowDirectionProperty.GetDefaultValue(typeof(FrameworkElement)); 1319FlowDirection midpointFlowDirection = (FlowDirection)commonAncestor.GetValue(FrameworkElement.FlowDirectionProperty); 1320FlowDirection previousFlowDirection = (FlowDirection)previousRun.GetValue(FrameworkElement.FlowDirectionProperty); 1321FlowDirection nextFlowDirection = (FlowDirection)nextRun.GetValue(FrameworkElement.FlowDirectionProperty); 1333SetStructuralInlineProperty(scopingPreviousInline.ElementStart, scopingNextInline.ElementEnd, FrameworkElement.FlowDirectionProperty, previousFlowDirection); 1858while ((FlowDirection)inline.Parent.GetValue(FrameworkElement.FlowDirectionProperty) == flowDirection)
System\Windows\Documents\TextSchema.cs (2)
42FrameworkElement.FlowDirectionProperty, 1214FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextSelection.cs (6)
494FlowDirection initialFlowDirection = (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty); 499initialFlowDirection == (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty) && 1264formattingProperty != FrameworkElement.FlowDirectionProperty) // We dont want to apply flowdirection property to inlines when selection is empty. 1477inheritableProperties[i] != FrameworkElement.FlowDirectionProperty && 2248FlowDirection flowDirection = (FlowDirection)focusedTextSelection.Start.GetValue(FrameworkElement.FlowDirectionProperty); 2374FlowDirection uiScopeflowDirection = (FlowDirection)textEditor.UiScope.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\FrameworkElement.cs (6)
115if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft) 3674set { SetValue(FlowDirectionProperty, value); } 3684return (FlowDirection)element.GetValue(FlowDirectionProperty); 3694element.SetValue(FlowDirectionProperty, value); 3977parentFlowDirection = (FlowDirection)parentFCE.GetValue(FlowDirectionProperty); 4010object flowDirectionValue = v.ReadLocalValue(FlowDirectionProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2539DependencyProperty dp = System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Markup\KnownTypes.cs (1)
1765return System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Shell\WindowChromeWorker.cs (2)
141Utility.AddDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup); 183Utility.RemoveDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup);
System\Windows\TreeWalkHelper.cs (1)
1288return (dp == FrameworkElement.FlowDirectionProperty);
System\Windows\Window.cs (1)
69FlowDirectionProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged)));
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
564FlowDirection elementFD = (FlowDirection)_clonedElement.GetValue(FlowDirectionProperty); 566FlowDirection parentFD = parent == null ? FlowDirection : (FlowDirection)parent.GetValue(FlowDirectionProperty);