/// <summary> /// SendEvent - sends sinking/bubbling event to the child/parent chain of element element. /// First event will be send in SINKING mode (with SINKING flag) - from root to element element itself. /// Then from element element to its root on parents chain without SINKING flag (bubbling phase). /// </summary> public bool SendEvent(Element he, BehaviorEventType eventCode, IntPtr reason, Element source) { var handled = default(bool); CheckResult(SciterSendEvent(he.Handle, (int)eventCode, source != null ? source.Handle : he.Handle, reason, out handled)); return(handled); }
/// <summary> /// Post event by sinking/bubbling on the parent/child chain of this element /// </summary> public void PostEvent(BehaviorEventType eventCode, Element source) { var reason = default(IntPtr); SciterDomApi.PostEvent(this, eventCode, reason, source); }
/// <summary> /// Send event by sinking/bubbling on the parent/child chain of this element /// </summary> public bool SendEvent(BehaviorEventType eventCode, Element source) { var reason = default(IntPtr); return(SciterDomApi.SendEvent(this, eventCode, reason, source)); }
/// <summary> /// PostEvent - post sinking/bubbling event to the child/parent chain of element element. /// Function will return immediately posting event into input queue of the application. /// </summary> public void PostEvent(Element he, BehaviorEventType eventCode, IntPtr reason, Element source) { CheckResult(SciterPostEvent(he.Handle, (int)eventCode, source != null ? source.Handle : he.Handle, reason)); }
/// <summary> /// Send event by sinking/bubbling on the parent/child chain of this element /// </summary> public bool SendEvent(BehaviorEventType eventCode, Element source) { var reason = default(IntPtr); return SciterDomApi.SendEvent(this, eventCode, reason, source); }
/// <summary> /// SendEvent - sends sinking/bubbling event to the child/parent chain of element element. /// First event will be send in SINKING mode (with SINKING flag) - from root to element element itself. /// Then from element element to its root on parents chain without SINKING flag (bubbling phase). /// </summary> public bool SendEvent(Element he, BehaviorEventType eventCode, IntPtr reason, Element source) { var handled = default(bool); CheckResult(SciterSendEvent(he.Handle, (int)eventCode, source != null ? source.Handle : he.Handle, reason, out handled)); return handled; }