2 writes to _clonedElement
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
525
_clonedElement
= null;
537
_clonedElement
= logicalElement as UIElement;
15 references to _clonedElement
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (15)
524
_clonedElement
?.LayoutUpdated -= CloneLayoutUpdated;
539
if (
_clonedElement
!= null)
542
VisualBrush visualBrush = new VisualBrush(
_clonedElement
)
548
Viewbox = new Rect(
_clonedElement
.RenderSize),
552
Viewport = new Rect(
_clonedElement
.RenderSize)
558
FlowDirection elementFD = (FlowDirection)
_clonedElement
.GetValue(FlowDirectionProperty);
559
DependencyObject parent = VisualTreeHelper.GetParent(
_clonedElement
);
563
visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0,
_clonedElement
.RenderSize.Width, 0.0));
570
Width =
_clonedElement
.RenderSize.Width,
571
Height =
_clonedElement
.RenderSize.Height
574
_clonedElement
.LayoutUpdated += CloneLayoutUpdated;
604
rect.Width =
_clonedElement
.RenderSize.Width;
605
rect.Height =
_clonedElement
.RenderSize.Height;
608
visualBrush.Viewbox = new Rect(
_clonedElement
.RenderSize);
609
visualBrush.Viewport = new Rect(
_clonedElement
.RenderSize);