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