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

help with Docking

hi all.
on my win form i placed a DockingMgr.
my form is RighToLeft=true;
now i placed a listbox control, and when i dock it, it automaticly docked to the left of the form.
how can i dock it by default to the right.

3 Replies

JA JayaLakshmi Syncfusion Team June 7, 2007 01:16 PM UTC


Hi Shachar,

Thank you for your interest in Syncfusion products.

To dock the control automatically to the right of the form, set the property 'RightToLeftLayout' of the form to true.

I have also attached a sample in the below location.
http://websamples.syncfusion.com/samples/Tools.Windows/F62075/main.htm

Kindly let me know if this helps.

Regards,
Jaya


BI BillC March 5, 2008 05:05 PM UTC

That works well for forms, but what can we do about a UserControl? UserControls do not have a RightToLeftLayout property, and they do not mirror when the form they live on has its RightToLeftLayout property set to true.

Is there a way to make the DockingManager work with a panel? The problem I've run into with this, is that the DockingManagers hostcontrol property needs to be a ContainerControl, and panels do not extend this class.



AD Administrator Syncfusion Team March 14, 2008 09:44 AM UTC

Hi BillC,

Thank you for your update.

1) RightToLeft using UserControl in Docking Manager:

I am afarid that I was not able to reproduce the issue mentioned here. Please find the simple sample in the following link:

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

2) Yes. Currently it is not possible to use DockingManager with the Panel.

Please let me know if any concerns.

Regards,
Fathima


Loader.
Live Chat Icon For mobile
Up arrow icon