2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
873
_clonedElement
= null;
886
_clonedElement
= logicalElement as UIElement;
19 references to _clonedElement
PresentationFramework (19)
System\Windows\Controls\ComboBox.cs (19)
227
if (comboBox.
_clonedElement
!= null && VisualTreeHelper.GetParent(comboBox.
_clonedElement
) == null)
236
cb.
_clonedElement
?.CoerceValue(FrameworkElement.FlowDirectionProperty);
489
((highlightedElement = comboBox.HighlightedElement) != null && highlightedElement.Content == comboBox.
_clonedElement
);
870
if (
_clonedElement
!= null)
872
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
888
if (
_clonedElement
!= null)
891
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
897
Viewbox = new Rect(
_clonedElement
.RenderSize),
901
Viewport = new Rect(
_clonedElement
.RenderSize)
916
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
920
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
927
Width =
_clonedElement
.RenderSize.Width,
928
Height =
_clonedElement
.RenderSize.Height
931
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
960
rect.Width =
_clonedElement
.RenderSize.Width;
961
rect.Height =
_clonedElement
.RenderSize.Height;
964
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
965
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);