We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

xpTaskBarBox: OnDoubleClick()

Thread ID:

Created:

Updated:

Platform:

Replies:

7009 Sep 9,2003 06:32 PM UTC Sep 11,2003 04:44 PM UTC WinForms 4
loading
Tags: Tools
keith
Asked On September 9, 2003 06:32 PM UTC

Does the control support double click event and how to user if there is? Thansk Keith

Administrator [Syncfusion]
Replied On September 9, 2003 08:44 PM UTC

Hi Keith, XPTaskBarBox does support the DoubleClick event. It can accomplished by using the following code : this.xpTaskBarBox1.DoubleClick += new System.EventHandler(this.xpTaskBarBox1_DoubleClick); private void xpTaskBarBox1_DoubleClick(object sender, System.EventArgs e) { // event handler code } Please let me know if this is the information you are looking for. Thanks, Guru Patwal

keith
Replied On September 9, 2003 09:00 PM UTC

> Does the control support double click event > and how to user if there is? > > Thansk > Keith

keith
Replied On September 9, 2003 09:07 PM UTC

> Hi Keith, > > XPTaskBarBox does support the DoubleClick event. It can accomplished by using the following code : > > this.xpTaskBarBox1.DoubleClick += new System.EventHandler(this.xpTaskBarBox1_DoubleClick); > > private void xpTaskBarBox1_DoubleClick(object sender, System.EventArgs e) > { > // event handler code > } > Please let me know if this is the information you are looking for. > > Thanks, > Guru Patwal Guru, What I want is to add a event method for double click into XPTaskBarBox class like that OnMouseDown() method. I put the codes protected override OnDoubleClick(MouseEventArgs e) { ... } into the box class. When compiling it, got error. I want to capture the event inside the class. Thanks Keith

Administrator [Syncfusion]
Replied On September 11, 2003 04:44 PM UTC

Hi Keith, The format of the OnDoubleClick event handler of the Control class is as follows : protected virtual void OnDoubleClick(EventArgs e) { // code } But you are using MouseEventArgs as the argument instead EventArgs and this in all probability is resulting in the compilation error. Please let me know if this helps. Regards, Guru Patwal.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;