Beispiel #1
0
        internal PathElement CreatePathElement()
        {
            PathElement pathElement = PathCreateBehavior.CreatePathElement(this.ActiveSceneViewModel, this.ActiveSceneInsertionPoint, this.ToolBehaviorContext);

            this.EditingElement = (BaseFrameworkElement)pathElement;
            return(pathElement);
        }
        protected override BaseFrameworkElement CreateElementOnStartDrag()
        {
            BaseFrameworkElement frameworkElement = (BaseFrameworkElement)PathCreateBehavior.CreatePathElement(this.ActiveSceneViewModel, this.ActiveSceneInsertionPoint, this.ToolBehaviorContext);

            this.UpdateEditTransaction();
            return(frameworkElement);
        }