2 writes to _clonedElement
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
527
_clonedElement
= null;
540
_clonedElement
= logicalElement as UIElement;
16 references to _clonedElement
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (16)
524
if (
_clonedElement
!= null)
526
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
542
if (
_clonedElement
!= null)
545
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
551
Viewbox = new Rect(
_clonedElement
.RenderSize),
555
Viewport = new Rect(
_clonedElement
.RenderSize)
561
FlowDirection elementFD = (FlowDirection)
_clonedElement
.GetValue(FlowDirectionProperty);
562
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
566
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
573
Width =
_clonedElement
.RenderSize.Width,
574
Height =
_clonedElement
.RenderSize.Height
577
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
607
rect.Width =
_clonedElement
.RenderSize.Width;
608
rect.Height =
_clonedElement
.RenderSize.Height;
611
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
612
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);