2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
867
_clonedElement
= null;
879
_clonedElement
= logicalElement as UIElement;
18 references to _clonedElement
PresentationFramework (18)
System\Windows\Controls\ComboBox.cs (18)
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
);
866
_clonedElement
?.LayoutUpdated -= CloneLayoutUpdated;
881
if (
_clonedElement
!= null)
884
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
890
Viewbox = new Rect(
_clonedElement
.RenderSize),
894
Viewport = new Rect(
_clonedElement
.RenderSize)
909
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
913
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
920
Width =
_clonedElement
.RenderSize.Width,
921
Height =
_clonedElement
.RenderSize.Height
924
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
953
rect.Width =
_clonedElement
.RenderSize.Width;
954
rect.Height =
_clonedElement
.RenderSize.Height;
957
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
958
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);