2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
891
_clonedElement
= null;
904
_clonedElement
= logicalElement as UIElement;
20 references to _clonedElement
PresentationFramework (20)
System\Windows\Controls\ComboBox.cs (20)
240
if (comboBox.
_clonedElement
!= null && VisualTreeHelper.GetParent(comboBox.
_clonedElement
) == null)
249
if (cb.
_clonedElement
!= null)
251
cb.
_clonedElement
.CoerceValue(FrameworkElement.FlowDirectionProperty);
505
((highlightedElement = comboBox.HighlightedElement) != null && highlightedElement.Content == comboBox.
_clonedElement
);
888
if (
_clonedElement
!= null)
890
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
906
if (
_clonedElement
!= null)
909
VisualBrush visualBrush = new VisualBrush(
_clonedElement
);
914
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
918
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);
932
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
936
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
942
rect.Width =
_clonedElement
.RenderSize.Width;
943
rect.Height =
_clonedElement
.RenderSize.Height;
945
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
974
rect.Width =
_clonedElement
.RenderSize.Width;
975
rect.Height =
_clonedElement
.RenderSize.Height;
978
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
979
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);