Skip to main content Skip to footer

How to Prevent Specific C1Combo Columns from Being Resized at Runtime

This article will cover how to prevent a specific column from resizing in C1Combo.

Inside the Form1_Load event (or wherever you prefer), you can place the following code, where the DisplayColumns() method takes in the column index as the parameter to access that specific column's AllowSizing property:

'Set the AllowSizing property of the DisplayColumns to stop the column resizing
C1Combo1.Splits(0).DisplayColumns(0).AllowSizing = False
C1Combo1.Splits(0).DisplayColumns(1).AllowSizing = False

Hunter Haaf