2 writes to _clonedElement
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
531
_clonedElement
= null;
544
_clonedElement
= logicalElement as UIElement;
16 references to _clonedElement
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (16)
528
if (
_clonedElement
!= null)
530
_clonedElement
.LayoutUpdated -= CloneLayoutUpdated;
546
if (
_clonedElement
!= null)
549
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
555
Viewbox = new Rect(
_clonedElement
.RenderSize),
559
Viewport = new Rect(
_clonedElement
.RenderSize)
565
FlowDirection elementFD = (FlowDirection)
_clonedElement
.GetValue(FlowDirectionProperty);
566
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
570
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
577
Width =
_clonedElement
.RenderSize.Width,
578
Height =
_clonedElement
.RenderSize.Height
581
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
611
rect.Width =
_clonedElement
.RenderSize.Width;
612
rect.Height =
_clonedElement
.RenderSize.Height;
615
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
616
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);