14 references to Element
PresentationFramework (14)
MS\Internal\Text\ComplexLine.cs (7)
167
Visual currentParent = VisualTreeHelper.GetParent(inlineObject.
Element
) as Visual;
172
parent.Children.Remove(inlineObject.
Element
);
181
if (inlineObject.
Element
is FrameworkElement)
186
DependencyObject parent = ((FrameworkElement)inlineObject.
Element
).Parent;
207
proxyVisual.Children.Add(inlineObject.
Element
);
212
inlineObject.
Element
.Arrange(new Rect(inlineObject.
Element
.DesiredSize));
MS\Internal\Text\InlineObject.cs (2)
52
double baselineOffsetValue = (double)
Element
.GetValue(TextBlock.BaselineOffsetProperty);
74
double baselineOffsetValue = (double)
Element
.GetValue(TextBlock.BaselineOffsetProperty);
System\Windows\Controls\TextBlock.cs (5)
1968
inlineObject.
Element
.Measure(contentSize);
1969
desiredSize = inlineObject.
Element
.DesiredSize;
1985
Debug.Assert(((InlineObject)inlineObjects[index]).
Element
== inlineObject.
Element
, "InlineObject cache is out of sync.");
1998
desiredSize = inlineObject.
Element
.DesiredSize;