public ListViewInsertMarkAdorner(Control adornedElement) : base(adornedElement) { View = new ListViewInsertMarkAdornerView(); // view = new Rectangle { Fill = new SolidColorBrush(Colors.Black) }; View.Width = adornedElement.RenderSize.Width; // view.Height = adornedElement.RenderSize.Height; View.IsHitTestVisible = false; }
public ListViewInsertMarkAdorner(Control adornedElement) : base(adornedElement) { View = new ListViewInsertMarkAdornerView { Width = adornedElement.RenderSize.Width, IsHitTestVisible = false }; // view = new Rectangle { Fill = new SolidColorBrush(Colors.Black) }; // view.Height = adornedElement.RenderSize.Height; }