2 writes to _clonedElement
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
534
_clonedElement
= null;
547
_clonedElement
= logicalElement as UIElement;
16 references to _clonedElement
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (16)
531
if (
_clonedElement
!= null)
533
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
549
if (
_clonedElement
!= null)
552
VisualBrush visualBrush = new VisualBrush(
_clonedElement
);
557
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
561
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);
566
FlowDirection elementFD = (FlowDirection)
_clonedElement
.GetValue(FlowDirectionProperty);
567
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
571
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
577
rect.Width =
_clonedElement
.RenderSize.Width;
578
rect.Height =
_clonedElement
.RenderSize.Height;
580
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
610
rect.Width =
_clonedElement
.RenderSize.Width;
611
rect.Height =
_clonedElement
.RenderSize.Height;
614
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
615
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);