2 writes to _clonedElement
PresentationFramework (2)
src\Framework\System\Windows\Controls\ComboBox.cs (2)
893
_clonedElement
= null;
906
_clonedElement
= logicalElement as UIElement;
20 references to _clonedElement
PresentationFramework (20)
src\Framework\System\Windows\Controls\ComboBox.cs (20)
241
if (comboBox.
_clonedElement
!= null && VisualTreeHelper.GetParent(comboBox.
_clonedElement
) == null)
250
if (cb.
_clonedElement
!= null)
252
cb.
_clonedElement
.CoerceValue(FrameworkElement.FlowDirectionProperty);
506
((highlightedElement = comboBox.HighlightedElement) != null && highlightedElement.Content == comboBox.
_clonedElement
);
890
if (
_clonedElement
!= null)
892
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
908
if (
_clonedElement
!= null)
911
VisualBrush visualBrush = new VisualBrush(
_clonedElement
);
916
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
920
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);
934
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
938
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
944
rect.Width =
_clonedElement
.RenderSize.Width;
945
rect.Height =
_clonedElement
.RenderSize.Height;
947
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
976
rect.Width =
_clonedElement
.RenderSize.Width;
977
rect.Height =
_clonedElement
.RenderSize.Height;
980
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
981
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);