public GridViewSingleColumn() { CellTemplate = new GridViewSingleCell(); CellTemplate.Style.Alignment = DataGridViewContentAlignment.MiddleRight; }