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

Docking a xptoolbar to the right?

How can i dock a xptoolbar to the topmost right corner of a windows form?

1 Reply

GR Golda Rebecal Syncfusion Team September 11, 2007 11:31 AM UTC

Hi Keshav,

It is not possible to dock XPToolBar at the top right corner of the Windows form.

The question you’ve posted has raised some very significant issues, as this might be a Feature Request. We will get back to you within 2 business days with a complete response after due analysis of these issues.

As a workaround, you can try the following approach:
When you dock XPToolBar at the top, the bar items are aligned to the left. To align the baritems to the right, dock the first XPToolBar on top, and then place the second one over the first at its extreme right. Now anchor the second XPToolBar to top,right. The first XPToolBar can contain the items on the left side, and the second XPToolBar contains the items that are supposed to be on the right.

Here is the sample that illustrates the same:
http://websamples.syncfusion.com/samples/Tools.Windows/I37200/main.htm

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,
Golda

Loader.
Live Chat Icon For mobile
Up arrow icon