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)
529if (_clonedElement != null) 531_clonedElement.LayoutUpdated -= CloneLayoutUpdated; 547if (_clonedElement != null) 550VisualBrush visualBrush = new VisualBrush(_clonedElement); 555visualBrush.Viewbox = new Rect(_clonedElement.RenderSize); 559visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 564FlowDirection elementFD = (FlowDirection)_clonedElement.GetValue(FlowDirectionProperty); 565DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement); 569visualBrush.Transform = new MatrixTransform(new Matrix(-1.0, 0.0, 0.0, 1.0, _clonedElement.RenderSize.Width, 0.0)); 575rect.Width = _clonedElement.RenderSize.Width; 576rect.Height = _clonedElement.RenderSize.Height; 578_clonedElement.LayoutUpdated += CloneLayoutUpdated; 608rect.Width = _clonedElement.RenderSize.Width; 609rect.Height = _clonedElement.RenderSize.Height; 612visualBrush.Viewbox = new Rect(_clonedElement.RenderSize); 613visualBrush.Viewport = new Rect(_clonedElement.RenderSize);