2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
872
_clonedElement
= null;
885
_clonedElement
= logicalElement as UIElement;
19 references to _clonedElement
PresentationFramework (19)
System\Windows\Controls\ComboBox.cs (19)
226
if (comboBox.
_clonedElement
!= null && VisualTreeHelper.GetParent(comboBox.
_clonedElement
) == null)
235
cb.
_clonedElement
?.CoerceValue(FrameworkElement.FlowDirectionProperty);
488
((highlightedElement = comboBox.HighlightedElement) != null && highlightedElement.Content == comboBox.
_clonedElement
);
869
if (
_clonedElement
!= null)
871
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
887
if (
_clonedElement
!= null)
890
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
896
Viewbox = new Rect(
_clonedElement
.RenderSize),
900
Viewport = new Rect(
_clonedElement
.RenderSize)
915
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
919
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
926
Width =
_clonedElement
.RenderSize.Width,
927
Height =
_clonedElement
.RenderSize.Height
930
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
959
rect.Width =
_clonedElement
.RenderSize.Width;
960
rect.Height =
_clonedElement
.RenderSize.Height;
963
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
964
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);