98 references to FlowDirectionProperty
PresentationFramework (96)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (4)
830
flowDirection = (FlowDirection)pointer.GetValue(
FlowDirectionProperty
);
859
return (FlowDirection)pointer.GetValue(
FlowDirectionProperty
);
866
return (FlowDirection)pointer.GetValue(
FlowDirectionProperty
);
891
flowDirection = (FlowDirection)pointer.GetValue(
FlowDirectionProperty
);
src\Framework\MS\Internal\Documents\DocumentPageHost.cs (1)
101
pageVisualHost.SetValue(
FlowDirectionProperty
, FlowDirection.LeftToRight);
src\Framework\MS\Internal\Documents\PageCache.cs (1)
130
FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\Documents\UIElementIsland.cs (2)
81
SetValue(FrameworkElement.
FlowDirectionProperty
, ((FrameworkElement)_child).Parent.GetValue(FrameworkElement.
FlowDirectionProperty
));
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
103
_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
130
_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (3)
498
uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
671
uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
808
uint fswdirSubtrack = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
235
_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
141
uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
221
_flowDirection = (FlowDirection)Paragraph.Element.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (2)
186
uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
401
uint fswdirPara = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
src\Framework\MS\Internal\PtsHost\Line.cs (2)
412
FlowDirection paragraphFlowDirection = (FlowDirection)paragraphElement.GetValue(FrameworkElement.
FlowDirectionProperty
);
442
FlowDirection parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\LineBase.cs (2)
206
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
280
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (1)
70
uint fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Paragraph.Element.GetValue(FrameworkElement.
FlowDirectionProperty
));
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (2)
53
visualChild.SetValue(FrameworkElement.
FlowDirectionProperty
, childFD);
58
visualChild.ClearValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\MS\Internal\PtsHost\Section.cs (2)
127
StructuralCache.PageFlowDirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.
FlowDirectionProperty
);
233
fswdir = PTS.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.
FlowDirectionProperty
));
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
147
uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
366
uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
536
uint fswdirSubpage = PTS.FlowDirectionToFswdir(((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
)));
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (1)
175
fstableobjprops.fswdirTable = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
));
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
162
fstxtprops.fswdir = PTS.FlowDirectionToFswdir((FlowDirection)Element.GetValue(FrameworkElement.
FlowDirectionProperty
));
src\Framework\MS\Internal\Text\ComplexLine.cs (3)
197
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
429
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
501
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\System\Windows\Controls\ComboBox.cs (2)
252
cb._clonedElement.CoerceValue(FrameworkElement.
FlowDirectionProperty
);
935
FlowDirection parentFD = parent == null ? FlowDirection.LeftToRight : (FlowDirection)parent.GetValue(
FlowDirectionProperty
);
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
624
object flowDirectionObj = element.ReadLocalValue(FrameworkElement.
FlowDirectionProperty
);
639
element.SetValue(FrameworkElement.
FlowDirectionProperty
, flowDirectionObj);
src\Framework\System\Windows\Controls\DatePicker.cs (2)
1080
_calendar.SetBinding(Calendar.
FlowDirectionProperty
, GetDatePickerBinding(DatePicker.
FlowDirectionProperty
));
src\Framework\System\Windows\Controls\Image.cs (1)
424
style.Setters.Add (new Setter(
FlowDirectionProperty
, FlowDirection.LeftToRight));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
330
if (e.Property == FrameworkElement.
FlowDirectionProperty
)
src\Framework\System\Windows\Controls\MediaElement.cs (1)
115
style.Setters.Add (new Setter(
FlowDirectionProperty
, FlowDirection.LeftToRight));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (3)
1839
if (parent != null && (FlowDirection)parent.GetValue(
FlowDirectionProperty
) == FlowDirection.RightToLeft)
2398
if ((FlowDirection)target.GetValue(
FlowDirectionProperty
) !=
2399
(FlowDirection)child.GetValue(
FlowDirectionProperty
))
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
314
FlowDirection childFlowDirection = (FlowDirection)child.GetValue(
FlowDirectionProperty
);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
423
FlowDirection flowWCP = (FlowDirection)tp.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\System\Windows\Documents\Adorner.cs (1)
226
adorner.SetBinding(
FlowDirectionProperty
, binding);
src\Framework\System\Windows\Documents\Block.cs (1)
269
FrameworkElement.
FlowDirectionProperty
.AddOwner(typeof(Block));
src\Framework\System\windows\Documents\CaretElement.cs (2)
668
FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(
FlowDirectionProperty
);
713
FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(
FlowDirectionProperty
);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
97
FrameworkElement.
FlowDirectionProperty
.AddOwner(
src\Framework\System\Windows\Documents\FixedPage.cs (1)
65
FlowDirectionProperty
.OverrideMetadata(typeof(FixedPage), metadata);
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (1)
218
element.SetValue(FrameworkElement.
FlowDirectionProperty
, FlowDirection.RightToLeft);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
246
element.SetValue(FrameworkElement.
FlowDirectionProperty
, FlowDirection.RightToLeft);
250
element.SetValue(FrameworkElement.
FlowDirectionProperty
, FlowDirection.LeftToRight);
src\Framework\System\Windows\Documents\Inline.cs (1)
139
FrameworkElement.
FlowDirectionProperty
.AddOwner(typeof(Inline));
src\Framework\System\windows\Documents\TextEditor.cs (2)
520
FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.
FlowDirectionProperty
);
526
range.ApplyPropertyValue(FrameworkElement.
FlowDirectionProperty
, inputFlowDirection);
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (2)
159
TextEditorCharacters._OnApplyProperty(This, FrameworkElement.
FlowDirectionProperty
,
169
TextEditorCharacters._OnApplyProperty(This, FrameworkElement.
FlowDirectionProperty
,
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2456
return (FlowDirection)navigator.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\System\windows\Documents\TextEditorTyping.cs (4)
1256
UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.
FlowDirectionProperty
, FlowDirection.LeftToRight);
1257
This.UiScope.SetValue(FrameworkElement.
FlowDirectionProperty
, FlowDirection.LeftToRight);
1272
UIElementPropertyUndoUnit.Add(This.TextContainer, This.UiScope, FrameworkElement.
FlowDirectionProperty
, FlowDirection.RightToLeft);
1273
This.UiScope.SetValue(FrameworkElement.
FlowDirectionProperty
, FlowDirection.RightToLeft);
src\Framework\System\Windows\Documents\TextRange.cs (1)
1631
if (formattingProperty == FrameworkElement.
FlowDirectionProperty
)
src\Framework\System\Windows\Documents\TextRangeEdit.cs (7)
845
parentFlowDirection = (FlowDirection)parent.GetValue(FrameworkElement.
FlowDirectionProperty
);
849
parentFlowDirection = (FlowDirection)FrameworkElement.
FlowDirectionProperty
.GetDefaultValue(typeof(FrameworkElement));
1324
FlowDirection midpointFlowDirection = (FlowDirection)commonAncestor.GetValue(FrameworkElement.
FlowDirectionProperty
);
1325
FlowDirection previousFlowDirection = (FlowDirection)previousRun.GetValue(FrameworkElement.
FlowDirectionProperty
);
1326
FlowDirection nextFlowDirection = (FlowDirection)nextRun.GetValue(FrameworkElement.
FlowDirectionProperty
);
1338
SetStructuralInlineProperty(scopingPreviousInline.ElementStart, scopingNextInline.ElementEnd, FrameworkElement.
FlowDirectionProperty
, previousFlowDirection);
1863
while ((FlowDirection)inline.Parent.GetValue(FrameworkElement.
FlowDirectionProperty
) == flowDirection)
src\Framework\System\Windows\Documents\TextSchema.cs (2)
46
FrameworkElement.
FlowDirectionProperty
,
1226
FrameworkElement.
FlowDirectionProperty
,
src\Framework\System\windows\Documents\TextSelection.cs (6)
513
FlowDirection initialFlowDirection = (FlowDirection)caretPosition.GetValue(FrameworkElement.
FlowDirectionProperty
);
518
initialFlowDirection == (FlowDirection)caretPosition.GetValue(FrameworkElement.
FlowDirectionProperty
) &&
1286
formattingProperty != FrameworkElement.
FlowDirectionProperty
) // We dont want to apply flowdirection property to inlines when selection is empty.
1499
inheritableProperties[i] != FrameworkElement.
FlowDirectionProperty
&&
2275
FlowDirection flowDirection = (FlowDirection)focusedTextSelection.Start.GetValue(FrameworkElement.
FlowDirectionProperty
);
2401
FlowDirection uiScopeflowDirection = (FlowDirection)textEditor.UiScope.GetValue(FrameworkElement.
FlowDirectionProperty
);
src\Framework\System\Windows\FrameworkElement.cs (6)
131
if (((FlowDirection)
FlowDirectionProperty
.GetDefaultValue(DependencyObjectType)) == FlowDirection.RightToLeft)
3694
set { SetValue(
FlowDirectionProperty
, value); }
3704
return (FlowDirection)element.GetValue(
FlowDirectionProperty
);
3714
element.SetValue(
FlowDirectionProperty
, value);
3997
parentFlowDirection = (FlowDirection)parentFCE.GetValue(
FlowDirectionProperty
);
4030
object flowDirectionValue = v.ReadLocalValue(
FlowDirectionProperty
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2470
DependencyProperty dp = System.Windows.FrameworkElement.
FlowDirectionProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1773
return System.Windows.FrameworkElement.
FlowDirectionProperty
;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
203
Utility.AddDependencyPropertyChangeListener(_window, Window.
FlowDirectionProperty
, _OnWindowPropertyChangedThatRequiresTemplateFixup);
255
Utility.RemoveDependencyPropertyChangeListener(_window, Window.
FlowDirectionProperty
, _OnWindowPropertyChangedThatRequiresTemplateFixup);
src\Framework\System\Windows\TreeWalkHelper.cs (1)
1291
return (dp == FrameworkElement.
FlowDirectionProperty
);
src\Framework\System\Windows\Window.cs (1)
98
FlowDirectionProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged)));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Metadata\PropertyInspectorMetadata.cs (1)
52
MakeBasic(builder, typeof(FrameworkElement), FrameworkElement.
FlowDirectionProperty
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
339
if (ParentModelPropertyEntry.PropertyName.Equals(FrameworkElement.
FlowDirectionProperty
.Name))