Generally you're OK if the charges were expunged. But impossible to say for certain without details. Best option is to pay for a consult with an immigration lawyer to be certain. Assuming you're OK to enter Canada (i.e. not inadmissible), you'll still need to answer yes to the question about whether you've ever been arrested if applying for anything like a work permit, study permit, or PR.