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