add properties in gridcomponent.cs update grid.cs