2 writes to _clonedElement
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (2)
881
_clonedElement
= null;
894
_clonedElement
= logicalElement as UIElement;
20 references to _clonedElement
PresentationFramework (20)
System\Windows\Controls\ComboBox.cs (20)
230
if (comboBox.
_clonedElement
!= null && VisualTreeHelper.GetParent(comboBox.
_clonedElement
) == null)
239
if (cb.
_clonedElement
!= null)
241
cb.
_clonedElement
.CoerceValue(FrameworkElement.FlowDirectionProperty);
495
((highlightedElement = comboBox.HighlightedElement) != null && highlightedElement.Content == comboBox.
_clonedElement
);
878
if (
_clonedElement
!= null)
880
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
896
if (
_clonedElement
!= null)
899
VisualBrush visualBrush = new VisualBrush(
_clonedElement
);
904
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
908
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);
922
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
926
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
932
rect.Width =
_clonedElement
.RenderSize.Width;
933
rect.Height =
_clonedElement
.RenderSize.Height;
935
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
964
rect.Width =
_clonedElement
.RenderSize.Width;
965
rect.Height =
_clonedElement
.RenderSize.Height;
968
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
969
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);