I have created a custom UserControl. The structure of the UserControl is,
UserControl
RadPanel1
RadPanel2
RadStatusStrip
RadPanel2 is where I draw graphics. The RadStatusStrip display mouse location information below RadPanel2. RadPanel1 is sized so that RadPanel2 and RadStatusStrip completely fill the area.
This UserControl is then placed in a ToolWIndow within a ToolTabStrip within a RadSplitContainer within a RadDock.
In the initial state, everything works fine. However, I need to dynamically resize the UserControl when the RadSplitContainer is resized, or when the ToolWindow is undocked and resized. I also need to resize the UserControl when the ToolWindow is redocked.
I have tried making the RadPanels the Windows Panel also. In both cases, I cannot get the Resize event on the Panel or RadPanels to fire to allow me to redraw the contents according to the new size. I do see the Resize event on the ToolWindow being fired.
What is the proper way for me to do the resizing of the UserControl and its contents?
Thanks for any help.
Ken...
UserControl
RadPanel1
RadPanel2
RadStatusStrip
RadPanel2 is where I draw graphics. The RadStatusStrip display mouse location information below RadPanel2. RadPanel1 is sized so that RadPanel2 and RadStatusStrip completely fill the area.
This UserControl is then placed in a ToolWIndow within a ToolTabStrip within a RadSplitContainer within a RadDock.
In the initial state, everything works fine. However, I need to dynamically resize the UserControl when the RadSplitContainer is resized, or when the ToolWindow is undocked and resized. I also need to resize the UserControl when the ToolWindow is redocked.
I have tried making the RadPanels the Windows Panel also. In both cases, I cannot get the Resize event on the Panel or RadPanels to fire to allow me to redraw the contents according to the new size. I do see the Resize event on the ToolWindow being fired.
What is the proper way for me to do the resizing of the UserControl and its contents?
Thanks for any help.
Ken...