Articles in this section

How to change the size of ComboBox Button in WinForms GridControl?

Change the size of the combobox button

You can change the size of a ComboBox button by changing the ButtonBarSize in the cell model.

GridComboBoxCellModel model = this.gridControl1.CellModels["ComboBox"] as GridComboBoxCellModel;

//Change the button size of the ComboBox in a cell
model.ButtonBarSize = new Size(8, 8);
Dim model As GridComboBoxCellModel = TryCast(Me.gridControl1.CellModels("ComboBox"), GridComboBoxCellModel)

'Change the button size of the ComboBox in a cell
model.ButtonBarSize = New Size(8, 8)

 

GridControl with changed combobox button size


Figure
1: GridControl with changed ComboBox button size


Samples:

C#:  ComboButtonSizeChange

VB: ComboButtonSizeChange

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied