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