ToolBar docking

Posted by: fsegui on 25 January 2021, 5:08 am EST

    • Post Options:
    • Link

    Posted 25 January 2021, 5:08 am EST

    Hello,

    I’ve a commanddock on my main form. Inside there are two tool bars. I want to one to be docked on the left with AutoSize property to true and the other one to be docked on the right also with AutoSize property to true.

    thus, the tools bar will be in their respective corner.

    But these two properties cannot be activated together.

    How can I achieve this behavior?

    Thanks

  • Posted 27 January 2021, 1:40 am EST

    Hi,

    You can achieve this behavior by updating the location of the right toolbar using the SizeChanged event of the command dock. Please refer to the sample and GIF attached.

    If you have any questions, please let us know.

    Regards,

    Prabhat Sharma.CommandDockToolbar.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-72355316-c002-4d35-be01-a52539e23a7d.gif[/img]

  • Posted 27 January 2021, 12:46 pm EST

    Hi,

    Works fine like this.

    Thanks

    BR

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels