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