Hi, I am using version 8 of the Infragistics Winforms library. I have the Ribbon bar on a user control.
I would like to find out how to get or calculate the height of the ribbon bar. I have an image editor that resizes based on the size of the image -- since the ribbon bar takes up client area space, I need to accomodate that in the size of the control.
Thanks!
You can iterate the controls of the UserControl and find the instance of UltraToolbarsDockArea whose Dock property is Top and get that control's Height. You can also add a Panel control to the center of the UserControl and set Dock to Fill. Then put your image editor in the Panel and get the panel's size to know how much room your image editor has to display. The Panel will occupy the area not used by the ribbon and other dock areas.
That worked thanks!