FairyGUI.EventContext.PreventDefault C# (CSharp) Method

PreventDefault() public method

public PreventDefault ( ) : void
return void
        public void PreventDefault()
        {
            _defaultPrevented = true;
        }

Usage Example

 static public int PreventDefault(IntPtr l)
 {
     try {
         FairyGUI.EventContext self = (FairyGUI.EventContext)checkSelf(l);
         self.PreventDefault();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.EventContext::PreventDefault