I am trying to figure out how to disable the behavior that occurs when double clicking on the divider between two column headers. Doing this causes columns to resize, which i do not want to do. I just want to ignore the fact that the double click happened. It seems this should be a property somewhere but i cannot find it...
ADAdministrator Syncfusion Team October 7, 2002 08:33 AM
There is no property that controls this, but you can get at it from the ResizingColumns event. Check if the reason is a double click, andif so, cancel the sizing.
Private Sub GridControl1_ResizingColumns(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridResizingColumnsEventArgs) Handles GridControl1.ResizingColumns
If (e.Reason = GridResizeCellsReason.DoubleClick) Then
e.Cancel = True