Disable/enable EventTrigger component via script

Hi,
is there a way to disable/enable the EventTrigger Component of UI element?
GetComponent() does is not defined for me…

Thanks in advance

do you have

using UnityEngine.EventSystems;

at the top?

http://docs.unity3d.com/ScriptReference/EventSystems.EventTrigger.html

Ah, thank you. I was missing that.
Now it works!
Thanks again.