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