Exemplo n.º 1
0
 protected void UpdatePreviewElement(Point pointerPosition)
 {
     if (this.ShowPreviewHighlightOnHover)
     {
         this.PreviewInsertionPoint = ElementCreateBehavior.GetInsertionPointToPreview(this.ActiveSceneViewModel, new InsertionPointContext(pointerPosition, this.InstanceType));
     }
     else
     {
         this.PreviewInsertionPoint = (ISceneInsertionPoint)null;
     }
 }
Exemplo n.º 2
0
 private void UpdatePreviewElement(Point pointerPosition)
 {
     this.PreviewInsertionPoint = ElementCreateBehavior.GetInsertionPointToPreview(this.ActiveSceneViewModel, new InsertionPointContext(pointerPosition));
 }