Represents a dragged object that has a visual representation.
This is an abstract base class. It maintains a Visual property that represents an object being dragged. It is up to the derived class to create the object.
Inheritance: MouseDrag
Ejemplo n.º 1
0
    RemoveVisualFromTopOfGraph
    (
        MouseDragWithVisual oMouseDragWithVisual
    )
    {
        AssertValid();

        if (oMouseDragWithVisual == null)
        {
            return;
        }

        Visual oVisual = oMouseDragWithVisual.Visual;

        if (oVisual != null)
        {
            m_oGraphDrawer.RemoveVisualFromTopOfGraph(oVisual);
        }
    }