C#のDEVは、適応型のカラム幅を実装GRIDCONTROL

C#のDEVは、適応型のカラム幅を実装GRIDCONTROL

2019年3月29日午後02時07分37秒  jack_dxy  数302を読んで

直接コードを接続します。

 gridView1.OptionsView.ColumnAutoWidth = false;
            for (int I = 0; I < gridView1.Columns.Count; I++)
            {
                this.gridView1.BestFitColumns();
                this.gridView1.Columns[I].BestFit();//自动列宽
            }

 

おすすめ

転載: blog.csdn.net/cxu123321/article/details/93619586
おすすめ