2 writes to _clonedElement
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
532
_clonedElement
= null;
545
_clonedElement
= logicalElement as UIElement;
16 references to _clonedElement
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (16)
529
if (
_clonedElement
!= null)
531
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
547
if (
_clonedElement
!= null)
550
VisualBrush visualBrush = new VisualBrush(
_clonedElement
);
555
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
559
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);
564
FlowDirection elementFD = (FlowDirection)
_clonedElement
.GetValue(FlowDirectionProperty);
565
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
569
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
575
rect.Width =
_clonedElement
.RenderSize.Width;
576
rect.Height =
_clonedElement
.RenderSize.Height;
578
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
608
rect.Width =
_clonedElement
.RenderSize.Width;
609
rect.Height =
_clonedElement
.RenderSize.Height;
612
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
613
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);