We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridControl Column Resizing

Thread ID:





56672 Feb 19,2007 10:55 AM UTC Feb 19,2007 03:44 PM UTC WinForms 1
Tags: GridControl
Edward Khoze
Asked On February 19, 2007 10:55 AM UTC


When a user double-clicks between the columns in a grid to resize them, what event should I catch to overwrite the default behaviour?

Thanks in advance


Administrator [Syncfusion]
Replied On February 19, 2007 03:44 PM UTC

Hi Ed,

You can subscribe the ResizingColumns event of the grid and detect the double between the column header by using the e.Action property. Here is a code snippet.

this.grid.ResizingColumns +=new GridResizingColumnsEventHandler(grid_ResizingColumns);

private void grid_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
if( e.Reason == GridResizeCellsReason.DoubleClick )
Console.WriteLine("double click is occured");

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon