Ejemplo n.º 1
0
        public void BindAll <T>(CtlBinder <T> _binder, PropertyPath <T, PlotSetup> source, Core core, Type dataType)
        {
            _core     = core;
            _dataType = dataType;

            if (!_binder.BinderCollection.Any(z => z is AxisBinder))
            {
                _binder.BinderCollection.Add(new AxisBinder());
            }

            _binder.Bind(this._txtClusterInfo, source.Append <object>(z => z.Information));
            _binder.Bind(this._txtClusterSubtitle, source.Append <object>(z => z.SubTitle));
            _binder.Bind(this._txtClusterTitle, source.Append <object>(z => z.Title));
            _binder.Bind(this._txtClusterXAxis, source.Append <object>(z => z.AxisX));
            _binder.Bind(this._txtClusterYAxis, source.Append <object>(z => z.AxisY));
            _binder.Bind(this._xrMax, source.Append <object>(z => z.RangeXMax));
            _binder.Bind(this._xRmin, source.Append <object>(z => z.RangeXMin));
            _binder.Bind(this._yrMax, source.Append <object>(z => z.RangeYMax));
            _binder.Bind(this._yrMin, source.Append <object>(z => z.RangeYMin));
        }