Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# datagridview change column alignment

 dataGridView1.Columns[i].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datagridview #change #column #alignment
ADD COMMENT
Topic
Name
8+5 =