protected override DependencyObject GetContainerForItemOverride() { LinePresenter container = new LinePresenter(); container.SetBinding(LinePresenter.LineProperty, new Binding()); return(container); }
protected override DependencyObject GetContainerForItemOverride() { LinePresenter container = new LinePresenter(); container.SetBinding(LinePresenter.LineProperty, new Binding()); return container; }
public void ScrollIntoView(Line line) { LinePresenter container = GetLinePresenter(line); MakeVisible(container, new Rect(0, 0, container.ActualWidth, container.ActualHeight)); }