Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# datagridview center cell text

this.dataGridView1.Columns["CustomerName"].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datagridview #center #cell #text
ADD COMMENT
Topic
Name
6+1 =