You will need to add the corresponding types to the Preferred Types Editor. For this case that means adding the visualElement class type you are using, as well as the MouseDownEvent class type. Once both are in the Preferred Types Editor, you should be able to see the visualElement type in the Reflected category and use its methods.