Is it possible to dock a grid to a ribbon. I've currently got a grid positioned so it appears as though it's on the ribbon, but that doesn't quite satisfy the requirement.
Thanks,Ken
You could add a panel to the form on which the ribbon appears and dock the panel to the top, then dock the grid in the panel with DockStyle.Fill.
Thanks for the response, Brian. At the moment I've got the grid on the form positioned where the ribbon is located. When the ribbon is in its normal state, everything looks kosher. If you collapse the ribbon, the grid is just kind of hanging out in space.
Ken
I think that's the best solution. Is there something wrong with that?
What's the down side of docking the grid on the top?
Another alternative would be to use UltraDockManager to put the grid into a dock pane. It's essentially the same thing, except that your application will look and feel more like Visual Studio and the users will be able to move the grid around, float it or dock it wherever they want instead of always on top.
Mike...that's essentially it. The grid is hanging out in space on the MDI parent form. I understand the...uniqueness...of the situation. It's what the users have requested. Ultimately, it appears my only option is to dock the grid to the top and anchor it to the top and right.
Hi Ken,
It sounds like something is not set up correctly on your form.
When you add the UltraToolbarsManager to any form, it shows a prompt which asks you if you want to add a fill panel to that form in order to ensure that the other controls on that form position themselves in the way you would expect.
Did you choose not to add the fill panel? Is the grid directly on the form?
Is this an MDI parent form you are using? If so, there would be no prompt, but it's very unusual to put a control directly onto an MDI Form. If that's what you are doing, then you probably just have to Dock the grid to the top.