98 references to FlowDirectionProperty
PresentationFramework (96)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
802flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty); 831return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 838return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 863flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty);
MS\Internal\Documents\DocumentPageHost.cs (1)
99pageVisualHost.SetValue(FlowDirectionProperty, FlowDirection.LeftToRight);
MS\Internal\Documents\PageCache.cs (1)
119FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\Documents\UIElementIsland.cs (2)
77SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)_child).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\BaseParaClient.cs (1)
80_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\CellParaClient.cs (1)
113_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
481uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 647uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 777uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FigureParaClient.cs (1)
202_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FigureParagraph.cs (1)
125uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FloaterParaClient.cs (1)
191_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FloaterParagraph.cs (2)
174uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 382uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\Line.cs (2)
403FlowDirection paragraphFlowDirection = (FlowDirection)paragraphElement.GetValue(FrameworkElement.FlowDirectionProperty); 433FlowDirection parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\LineBase.cs (2)
195parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 269parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ListParaClient.cs (1)
56uint fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\PtsHelper.cs (2)
44visualChild.SetValue(FrameworkElement.FlowDirectionProperty, childFD); 49visualChild.ClearValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\Section.cs (2)
121StructuralCache.PageFlowDirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty); 222fswdir = PTS.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\SubpageParagraph.cs (3)
129uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 336uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 497uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\TableParagraph.cs (1)
163fstableobjprops.fswdirTable = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\TextParagraph.cs (1)
151fstxtprops.fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\Text\ComplexLine.cs (3)
189parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 418parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 490parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Controls\ComboBox.cs (2)
241cb._clonedElement.CoerceValue(FrameworkElement.FlowDirectionProperty); 923FlowDirection parentFD = parent == null ? FlowDirection.LeftToRight : (FlowDirection)parent.GetValue(FlowDirectionProperty);
System\Windows\Controls\DataGridHelper.cs (2)
619object flowDirectionObj = element.ReadLocalValue(FrameworkElement.FlowDirectionProperty); 634element.SetValue(FrameworkElement.FlowDirectionProperty, flowDirectionObj);
System\Windows\Controls\DatePicker.cs (2)
1087_calendar.SetBinding(Calendar.FlowDirectionProperty, GetDatePickerBinding(DatePicker.FlowDirectionProperty));
System\Windows\Controls\Image.cs (1)
411style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\InkCanvas.cs (1)
306if (e.Property == FrameworkElement.FlowDirectionProperty)
System\Windows\Controls\MediaElement.cs (1)
103style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\Primitives\Popup.cs (3)
1828if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.RightToLeft) 2385if ((FlowDirection)target.GetValue(FlowDirectionProperty) != 2386(FlowDirection)child.GetValue(FlowDirectionProperty))
System\Windows\Controls\Primitives\PopupRoot.cs (1)
308FlowDirection childFlowDirection = (FlowDirection)child.GetValue(FlowDirectionProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
413FlowDirection flowWCP = (FlowDirection)tp.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Documents\Adorner.cs (1)
216adorner.SetBinding(FlowDirectionProperty, binding);
System\Windows\Documents\Block.cs (1)
255FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Block));
System\windows\Documents\CaretElement.cs (2)
661FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty); 706FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty);
System\Windows\Documents\FixedElement.cs (1)
85FrameworkElement.FlowDirectionProperty.AddOwner(
System\Windows\Documents\FixedPage.cs (1)
53FlowDirectionProperty.OverrideMetadata(typeof(FixedPage), metadata);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
208element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\FixedSOMTextRun.cs (2)
237element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 241element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
System\Windows\Documents\Inline.cs (1)
134FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Inline));
System\windows\Documents\TextEditor.cs (2)
499FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty); 505range.ApplyPropertyValue(FrameworkElement.FlowDirectionProperty, inputFlowDirection);
System\windows\Documents\TextEditorParagraphs.cs (2)
141TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty, 151TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextEditorSelection.cs (1)
2432return (FlowDirection)navigator.GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorTyping.cs (4)
1230UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1231This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1246UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 1247This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\TextRange.cs (1)
1631if (formattingProperty == FrameworkElement.FlowDirectionProperty)
System\Windows\Documents\TextRangeEdit.cs (7)
841parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 845parentFlowDirection = (FlowDirection)FrameworkElement.FlowDirectionProperty.GetDefaultValue(typeof(FrameworkElement)); 1320FlowDirection midpointFlowDirection = (FlowDirection)commonAncestor.GetValue(FrameworkElement.FlowDirectionProperty); 1321FlowDirection previousFlowDirection = (FlowDirection)previousRun.GetValue(FrameworkElement.FlowDirectionProperty); 1322FlowDirection nextFlowDirection = (FlowDirection)nextRun.GetValue(FrameworkElement.FlowDirectionProperty); 1334SetStructuralInlineProperty(scopingPreviousInline.ElementStart, scopingNextInline.ElementEnd, FrameworkElement.FlowDirectionProperty, previousFlowDirection); 1859while ((FlowDirection)inline.Parent.GetValue(FrameworkElement.FlowDirectionProperty) == flowDirection)
System\Windows\Documents\TextSchema.cs (2)
43FrameworkElement.FlowDirectionProperty, 1223FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextSelection.cs (6)
507FlowDirection initialFlowDirection = (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty); 512initialFlowDirection == (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty) && 1280formattingProperty != FrameworkElement.FlowDirectionProperty) // We dont want to apply flowdirection property to inlines when selection is empty. 1493inheritableProperties[i] != FrameworkElement.FlowDirectionProperty && 2264FlowDirection flowDirection = (FlowDirection)focusedTextSelection.Start.GetValue(FrameworkElement.FlowDirectionProperty); 2390FlowDirection uiScopeflowDirection = (FlowDirection)textEditor.UiScope.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\FrameworkElement.cs (6)
123if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft) 3684set { SetValue(FlowDirectionProperty, value); } 3694return (FlowDirection)element.GetValue(FlowDirectionProperty); 3704element.SetValue(FlowDirectionProperty, value); 3987parentFlowDirection = (FlowDirection)parentFCE.GetValue(FlowDirectionProperty); 4020object flowDirectionValue = v.ReadLocalValue(FlowDirectionProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2476DependencyProperty dp = System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Markup\KnownTypes.cs (1)
1772return System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Shell\WindowChromeWorker.cs (2)
142Utility.AddDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup); 184Utility.RemoveDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup);
System\Windows\TreeWalkHelper.cs (1)
1292return (dp == FrameworkElement.FlowDirectionProperty);
System\Windows\Window.cs (1)
75FlowDirectionProperty.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);