How to prevent resizing a specific column in GridControl

Handle ResizingColumns event and cancel the resizing for specific columns.

//Handles ResizingColumns event.
 private void grid_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{
	//Disables Column Resizing for the third column from the Right.
    if(e.Columns.Right == 2)
    {
        e.Cancel = true;
    }
}
'Handles ResizingColumns event.
Private Sub grid_ResizingColumns(ByVal sender As Object, ByVal e As GridResizingColumnsEventArgs)

	//Disables Column Resizing for the third column from the Right.
      If e.Columns.Right = 2 Then
          e.Cancel = True
      End If
End Sub