14 references to Element
PresentationFramework (14)
src\Framework\MS\Internal\Text\ComplexLine.cs (7)
175
Visual currentParent = VisualTreeHelper.GetParent(inlineObject.
Element
) as Visual;
180
parent.Children.Remove(inlineObject.
Element
);
189
if (inlineObject.
Element
is FrameworkElement)
194
DependencyObject parent = ((FrameworkElement)inlineObject.
Element
).Parent;
215
proxyVisual.Children.Add(inlineObject.
Element
);
220
inlineObject.
Element
.Arrange(new Rect(inlineObject.
Element
.DesiredSize));
src\Framework\MS\Internal\Text\InlineObject.cs (2)
59
double baselineOffsetValue = (double)
Element
.GetValue(TextBlock.BaselineOffsetProperty);
81
double baselineOffsetValue = (double)
Element
.GetValue(TextBlock.BaselineOffsetProperty);
src\Framework\System\Windows\Controls\TextBlock.cs (5)
2069
inlineObject.
Element
.Measure(contentSize);
2070
desiredSize = inlineObject.
Element
.DesiredSize;
2086
Debug.Assert(((InlineObject)inlineObjects[index]).
Element
== inlineObject.
Element
, "InlineObject cache is out of sync.");
2099
desiredSize = inlineObject.
Element
.DesiredSize;