2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
869
_clonedElement
= null;
882
_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
);
866
if (
_clonedElement
!= null)
868
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
884
if (
_clonedElement
!= null)
887
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
893
Viewbox = new Rect(
_clonedElement
.RenderSize),
897
Viewport = new Rect(
_clonedElement
.RenderSize)
912
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
916
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
923
Width =
_clonedElement
.RenderSize.Width,
924
Height =
_clonedElement
.RenderSize.Height
927
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
956
rect.Width =
_clonedElement
.RenderSize.Width;
957
rect.Height =
_clonedElement
.RenderSize.Height;
960
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
961
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);