can create Click Event for canvas control or not?

Hi I’m creat chart bar on canvas then I want to use Click Event but Canvas control Without Click Event.
then I can create Click Event for canvas control or not?
how to ?

thank you

Add an Event Definition to your class.

Edit MouseDown to return True.

Edit MouseUp to RaiseEvent Click(whatever parameters)

You’re done.

Thank you Simon Berridge.
You have Example project or code example ?