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. Image for the cookie policy date
close icon

Focus on XPToolBar item

Hi there,

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

Thanks.

3 Replies

JA JayaLakshmi Syncfusion Team 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.

Regards,
Jaya


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

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


JA JayaLakshmi Syncfusion Team 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.

[C#]

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

The following sample illustrates this.

http://websamples.syncfusion.com/samples/Tools.Windows/F61599/main.htm

Kindly let me know if this helps.

Thanks for your patience.

Regards,
Jaya

Loader.
Live Chat Icon For mobile
Up arrow icon