public Grid(GRIDTYPE _typ, Range dim1, Range dim2) { _gtype = _typ; _dim1 = dim1; _dim2 = dim2; Foreground = Colors.Blue; CreateGrid(); _dim1.PropertyChanged += _dim_PropertyChanged; _dim2.PropertyChanged += _dim_PropertyChanged; }