Home > Net >  Dev GridView how to set the cursor position, the input
Dev GridView how to set the cursor position, the input

Time:09-20

Figure 1

Figure 2


How to set the pattern of figure 2, the alignment is no problem, just input the cursor will run to the left, enter complete alignment is normal

CodePudding user response:

//text right-aligned
DataGridView. Columns [r]. "lblType DefaultCellStyle. Alignment=DataGridViewContentAlignment. MiddleLeft;
  •  Tags:  
  • C#
  • Related