private static void OnShapeGeometryChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
            {
                DataGeometry data     = (DataGeometry)d;
                Geometry     geometry = (Geometry)e.NewValue;

                data.Geometry = geometry;
            }
            private static void OnSymbolChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
            {
                DataGeometry data   = (DataGeometry)d;
                Symbol       symbol = (Symbol)e.NewValue;

                data.Symbol = symbol;
            }
        protected override GraphicsDataSource.DataObject CreateDataPoint(object dataContext)
        {
            DataGeometry data = new DataGeometry();

            data.Graphic.Attributes["DataContext"] = dataContext;
            var Dynamic = dataContext as Shape;

            data.Graphic.Symbol = Dynamic.Symbol;
            return(data);
        }