Richard Slade
Top achievements
Rank 2
Richard Slade
asked on 13 Aug 2009, 03:54 PM
Hello,
I have a tool window in a Rad Dock on a form. I've set the Allowed Dock states so it can only be docked or hidden, but I also want to ensure that apart from this, it cannot grow or shrink (like having a fixed splitter). Is there a way to do this please?
Thanks
Richard
I have a tool window in a Rad Dock on a form. I've set the Allowed Dock states so it can only be docked or hidden, but I also want to ensure that apart from this, it cannot grow or shrink (like having a fixed splitter). Is there a way to do this please?
Thanks
Richard
5 Answers, 1 is accepted
0
Richard Slade
Top achievements
Rank 2
answered on 14 Aug 2009, 08:15 AM
I've found that by aetting the splitter width to 0, this gets around half the issue.
When the window is in docked state, no splitter is shown. When the window is in hidden state, it allows me still to resize the window. Is there a way of preventing this?
Thanks
When the window is in docked state, no splitter is shown. When the window is in hidden state, it allows me still to resize the window. Is there a way of preventing this?
Thanks
0
Hi Richard Slade,
When the hidden state is not visible the window cannot change its size visually so I thing that your scenario should be in auto hide mode where you can use the following code snippet:
I hope this is helpful.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
When the hidden state is not visible the window cannot change its size visually so I thing that your scenario should be in auto hide mode where you can use the following code snippet:
AutoHidePopup autoHidePopup = this.toolWindow2.FindForm() as AutoHidePopup; |
if (autoHidePopup != null) |
{ |
autoHidePopup.FixedSplitter = true; |
} |
I hope this is helpful.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Alex Lin
Top achievements
Rank 1
answered on 30 Dec 2009, 12:37 AM
Hi,
I am having the same issue, and I am wondering if there is another way to have a fixed splitter other than setting the width of the splitter to 0?
Thank you,
Alex
I am having the same issue, and I am wondering if there is another way to have a fixed splitter other than setting the width of the splitter to 0?
Thank you,
Alex
0
Hello Alex Lin,
Thank you for contacting us. Please refer to this forum post about fixed splitters.
Kind regards,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for contacting us. Please refer to this forum post about fixed splitters.
Kind regards,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alex Lin
Top achievements
Rank 1
answered on 31 Dec 2009, 10:08 PM
Hi,
Thank you, I was able to find the solution in the link you provided
Happy New Year
Alex
Thank you, I was able to find the solution in the link you provided
Happy New Year
Alex