Exemplo n.º 1
0
        internal void RemoveDraggableComponent(DraggableComponent draggableComponent)
        {
            if (draggableComponent.GetType() == typeof(AnchoredTag))
            {
                ((AnchoredTag)draggableComponent).Unset();
            }

            layerModel.Components.Remove(draggableComponent);
            RaisePropertyChanged("DraggableComponents");
            RaisePropertyChanged("RemoveDraggableComponent"); // To update the view through LayerContainer.xaml.cs
        }