예제 #1
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            LinePresenter container = new LinePresenter();

            container.SetBinding(LinePresenter.LineProperty, new Binding());

            return(container);
        }
예제 #2
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            LinePresenter container = new LinePresenter();

            container.SetBinding(LinePresenter.LineProperty, new Binding());

            return container;
        }
예제 #3
0
        public void ScrollIntoView(Line line)
        {
            LinePresenter container = GetLinePresenter(line);

            MakeVisible(container, new Rect(0, 0, container.ActualWidth, container.ActualHeight));
        }