public ScrollContentPresenter() { innerScrollInfo = new InnerScrollInfo(); delegateScrollInfo = innerScrollInfo; AdornerLayer = new AdornerLayer(); AddVisualChild(AdornerLayer); }
private IScrollInfo delegateScrollInfo; // one of innerScrollInfo or Content's implementation (when CanContentScroll) public ScrollContentPresenter() { innerScrollInfo = new InnerScrollInfo(); delegateScrollInfo = innerScrollInfo; AdornerLayer = new AdornerLayer(); AddVisualChild(AdornerLayer); }