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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Focus on XPToolBar item

Thread ID:





61599 May 29,2007 09:09 PM UTC Jul 11,2007 10:14 AM UTC WinForms 3
Tags: Tools
Oleg Ogurok
Asked On May 29, 2007 09:09 PM UTC

Hi there,

Is it possible to set focus on a particular toolbar button?


JayaLakshmi [Syncfusion]
Replied On May 30, 2007 07:10 AM UTC

Hi Oleg,

Thanks for your interest in Syncfusion products.

Unfortunately, it is not possible to set focus on the baritem of XPToolbar. We will create feature request and intimate to our development team in this regard. Please let me know if you have any other questions.

Thanks for your patience.


Gili Korman Golander
Replied On July 2, 2007 11:53 AM UTC

Is there an estimate of when this feature will be available?

JayaLakshmi [Syncfusion]
Replied On July 11, 2007 10:14 AM UTC

Hi Gili,

Sorry for the delay in getting back to you.

The further analysis on your requirement results in using SetCurrentTrackItem method of XPToolbar BarRender class.

The following code illustrates this.


// To set focus on 3rd BarItem
BarRenderer br = this.xpToolBar1.Renderer as BarRenderer;
br.SetCurrentTrackItem(2, false, true);

The following sample illustrates this.


Kindly let me know if this helps.

Thanks for your patience.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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