98 references to FlowDirectionProperty
PresentationFramework (96)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
808flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty); 837return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 844return (FlowDirection)pointer.GetValue(FlowDirectionProperty); 869flowDirection = (FlowDirection)pointer.GetValue(FlowDirectionProperty);
MS\Internal\Documents\DocumentPageHost.cs (1)
100pageVisualHost.SetValue(FlowDirectionProperty, FlowDirection.LeftToRight);
MS\Internal\Documents\PageCache.cs (1)
123FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\Documents\UIElementIsland.cs (2)
79SetValue(FrameworkElement.FlowDirectionProperty, ((FrameworkElement)_child).Parent.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\BaseParaClient.cs (1)
88_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\CellParaClient.cs (1)
118_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
486uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 652uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 782uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FigureParaClient.cs (1)
208_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FigureParagraph.cs (1)
131uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\FloaterParaClient.cs (1)
196_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\FloaterParagraph.cs (2)
178uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 386uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\Line.cs (2)
409FlowDirection paragraphFlowDirection = (FlowDirection)paragraphElement.GetValue(FrameworkElement.FlowDirectionProperty); 439FlowDirection parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\LineBase.cs (2)
201parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 275parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\ListParaClient.cs (1)
60uint fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\PtsHelper.cs (2)
49visualChild.SetValue(FrameworkElement.FlowDirectionProperty, childFD); 54visualChild.ClearValue(FrameworkElement.FlowDirectionProperty);
MS\Internal\PtsHost\Section.cs (2)
123StructuralCache.PageFlowDirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty); 224fswdir = PTS.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\SubpageParagraph.cs (3)
134uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 341uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty))); 502uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty)));
MS\Internal\PtsHost\TableParagraph.cs (1)
171fstableobjprops.fswdirTable = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\PtsHost\TextParagraph.cs (1)
158fstxtprops.fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.FlowDirectionProperty));
MS\Internal\Text\ComplexLine.cs (3)
194parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 423parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 495parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Controls\ComboBox.cs (2)
251cb._clonedElement.CoerceValue(FrameworkElement.FlowDirectionProperty); 933FlowDirection parentFD = parent == null ? FlowDirection.LeftToRight : (FlowDirection)parent.GetValue(FlowDirectionProperty);
System\Windows\Controls\DataGridHelper.cs (2)
625object flowDirectionObj = element.ReadLocalValue(FrameworkElement.FlowDirectionProperty); 640element.SetValue(FrameworkElement.FlowDirectionProperty, flowDirectionObj);
System\Windows\Controls\DatePicker.cs (2)
1091_calendar.SetBinding(Calendar.FlowDirectionProperty, GetDatePickerBinding(DatePicker.FlowDirectionProperty));
System\Windows\Controls\Image.cs (1)
419style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\InkCanvas.cs (1)
318if (e.Property == FrameworkElement.FlowDirectionProperty)
System\Windows\Controls\MediaElement.cs (1)
110style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\Primitives\Popup.cs (3)
1835if (parent != null && (FlowDirection)parent.GetValue(FlowDirectionProperty) == FlowDirection.RightToLeft) 2392if ((FlowDirection)target.GetValue(FlowDirectionProperty) != 2393(FlowDirection)child.GetValue(FlowDirectionProperty))
System\Windows\Controls\Primitives\PopupRoot.cs (1)
317FlowDirection childFlowDirection = (FlowDirection)child.GetValue(FlowDirectionProperty);
System\Windows\Controls\TextRangeAdaptor.cs (1)
415FlowDirection flowWCP = (FlowDirection)tp.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\Documents\Adorner.cs (1)
219adorner.SetBinding(FlowDirectionProperty, binding);
System\Windows\Documents\Block.cs (1)
257FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Block));
System\windows\Documents\CaretElement.cs (2)
664FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty); 709FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty);
System\Windows\Documents\FixedElement.cs (1)
93FrameworkElement.FlowDirectionProperty.AddOwner(
System\Windows\Documents\FixedPage.cs (1)
61FlowDirectionProperty.OverrideMetadata(typeof(FixedPage), metadata);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
212element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\FixedSOMTextRun.cs (2)
241element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 245element.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
System\Windows\Documents\Inline.cs (1)
134FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Inline));
System\windows\Documents\TextEditor.cs (2)
505FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty); 511range.ApplyPropertyValue(FrameworkElement.FlowDirectionProperty, inputFlowDirection);
System\windows\Documents\TextEditorParagraphs.cs (2)
158TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty, 168TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextEditorSelection.cs (1)
2447return (FlowDirection)navigator.GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorTyping.cs (4)
1239UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1240This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight); 1255UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft); 1256This.UiScope.SetValue(FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\Windows\Documents\TextRange.cs (1)
1634if (formattingProperty == FrameworkElement.FlowDirectionProperty)
System\Windows\Documents\TextRangeEdit.cs (7)
843parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.FlowDirectionProperty); 847parentFlowDirection = (FlowDirection)FrameworkElement.FlowDirectionProperty.GetDefaultValue(typeof(FrameworkElement)); 1322FlowDirection midpointFlowDirection = (FlowDirection)commonAncestor.GetValue(FrameworkElement.FlowDirectionProperty); 1323FlowDirection previousFlowDirection = (FlowDirection)previousRun.GetValue(FrameworkElement.FlowDirectionProperty); 1324FlowDirection nextFlowDirection = (FlowDirection)nextRun.GetValue(FrameworkElement.FlowDirectionProperty); 1336SetStructuralInlineProperty(scopingPreviousInline.ElementStart, scopingNextInline.ElementEnd, FrameworkElement.FlowDirectionProperty, previousFlowDirection); 1861while ((FlowDirection)inline.Parent.GetValue(FrameworkElement.FlowDirectionProperty) == flowDirection)
System\Windows\Documents\TextSchema.cs (2)
44FrameworkElement.FlowDirectionProperty, 1224FrameworkElement.FlowDirectionProperty,
System\windows\Documents\TextSelection.cs (6)
510FlowDirection initialFlowDirection = (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty); 515initialFlowDirection == (FlowDirection)caretPosition.GetValue(FrameworkElement.FlowDirectionProperty) && 1283formattingProperty != FrameworkElement.FlowDirectionProperty) // We dont want to apply flowdirection property to inlines when selection is empty. 1496inheritableProperties[i] != FrameworkElement.FlowDirectionProperty && 2267FlowDirection flowDirection = (FlowDirection)focusedTextSelection.Start.GetValue(FrameworkElement.FlowDirectionProperty); 2393FlowDirection uiScopeflowDirection = (FlowDirection)textEditor.UiScope.GetValue(FrameworkElement.FlowDirectionProperty);
System\Windows\FrameworkElement.cs (6)
134if (((FlowDirection)FlowDirectionProperty.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft) 3695set { SetValue(FlowDirectionProperty, value); } 3705return (FlowDirection)element.GetValue(FlowDirectionProperty); 3715element.SetValue(FlowDirectionProperty, value); 3998parentFlowDirection = (FlowDirection)parentFCE.GetValue(FlowDirectionProperty); 4031object flowDirectionValue = v.ReadLocalValue(FlowDirectionProperty);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2478DependencyProperty dp = System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Markup\KnownTypes.cs (1)
1772return System.Windows.FrameworkElement.FlowDirectionProperty;
System\Windows\Shell\WindowChromeWorker.cs (2)
147Utility.AddDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup); 189Utility.RemoveDependencyPropertyChangeListener(_window, Window.FlowDirectionProperty, _OnWindowPropertyChangedThatRequiresTemplateFixup);
System\Windows\TreeWalkHelper.cs (1)
1296return (dp == FrameworkElement.FlowDirectionProperty);
System\Windows\Window.cs (1)
88FlowDirectionProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged)));
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
566FlowDirection elementFD = (FlowDirection)_clonedElement.GetValue(FlowDirectionProperty); 568FlowDirection parentFD = parent == null ? FlowDirection : (FlowDirection)parent.GetValue(FlowDirectionProperty);