//------------------------------------------------------------------------------------------------------------
        //Регистрация свойства зависимости
        public static DependencyProperty RegisterDependencyProperty(DependencyPropertyInfo info)
        {
            FrameworkPropertyMetadata metaData = new FrameworkPropertyMetadata();

            metaData.PropertyChangedCallback = info.PropertyChangedHandler;
            DependencyProperty dependencyProperty =
                DependencyProperty.Register(info.PropertyName, info.DataType, info.OwnerDataType, metaData);

            return(dependencyProperty);
        }
        //-------------------------------------------------------------------------------------------------------
        //-------------------------------------------------------------------------------------------------------
        static SwordfishXYLineChartControl()
        {
            DependencyPropertyInfo info;

            info = new DependencyPropertyInfo();
            info.PropertyName           = "GraphInfoCollection";
            info.DataType               = typeof(IList <GraphInfo>);
            info.OwnerDataType          = typeof(SwordfishXYLineChartControl);
            info.PropertyChangedHandler =
                new PropertyChangedCallback(SwordfishXYLineChartControl.GraphInfoCollectionChanged);
            SwordfishXYLineChartControl.GraphInfoCollectionProperty = ExtraHelperWPF.RegisterDependencyProperty(info);

            info = new DependencyPropertyInfo();
            info.PropertyName           = "GraphAxesInfo";
            info.DataType               = typeof(AxesInfo);
            info.OwnerDataType          = typeof(SwordfishXYLineChartControl);
            info.PropertyChangedHandler =
                new PropertyChangedCallback(SwordfishXYLineChartControl.AxesInfoChanged);
            SwordfishXYLineChartControl.AxesInfoProperty = ExtraHelperWPF.RegisterDependencyProperty(info);
        }