Home Forums WinForms controls Xceed Grid for WinForms Need help alligning a gridcombobox’s contents to the left. Reply To: Need help alligning a gridcombobox’s contents to the left.

User (Old forums)
Member
Post count: 23064

Solved it,

In case anyone else has this question:
XceedPatronGrid.Columns(“VerificationTypeID”).HorizontalAlignment = HorizontalAlignment.Left
gridComboBox1.DataSource = m_dtVerified
gridComboBox1.DisplayMember = “VerificationType”
gridComboBox1.ValueMember = “VerificationTypeID”
XceedPatronGrid.Columns(“VerificationTypeID”).CellEditor = gridComboBox1
XceedPatronGrid.Columns(“VerificationTypeID”).CellViewer = gridComboBox1

it is the HorizontalAlignment of the column.

Imported from legacy forums. Posted by hellswraith (had 3438 views)