Hello!
I need to move the splitters at runtime. It's possible? How?
I'm using Telerik WPF 2015.1.
Thank you!
3 Answers, 1 is accepted
0
Hello,
We are not exactly sure that we completely understand the desired by you functionality. The splitters of RadDocking could be move without any concerns during run time and thus to change the sizes of the Panes. Please, check the attached video that demonstrates that and let us know if we didn't miss something.
Could you please, provide us some more detailed information about the desired by you functionality and what exactly you need to achieve?
We are looking forward to hearing from you.
Regards,
Nasko
Telerik
We are not exactly sure that we completely understand the desired by you functionality. The splitters of RadDocking could be move without any concerns during run time and thus to change the sizes of the Panes. Please, check the attached video that demonstrates that and let us know if we didn't miss something.
Could you please, provide us some more detailed information about the desired by you functionality and what exactly you need to achieve?
We are looking forward to hearing from you.
Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Oreades
Top achievements
Rank 1
answered on 28 Jan 2016, 11:28 AM
Resize the Splitters in code.
Something like that:
RadSplitControl1.SplitterPosition = 256.
Thanks!
Something like that:
RadSplitControl1.SplitterPosition = 256.
Thanks!
0
Hello,
RadDocking uses RadGridSplitter to provide you the functionality to re-size the Panes during run time. However, actually the measures of the Grid inside which the Panes are placed are changed. So, basically there isn't any built-in functionality of the GridSplitter that provides you the ability to achieve the desired. We suggest you to check the following article that answers in details why this is not possible and what actually is the functionality and the role of the splitter:
http://blog.onedevjob.com/2012/01/08/moving-gridsplitter-with-code-behind-is-not-the-right-question/
So, basically in order to move the GridSplitter from code behind you actually need to change the current size of the SplitContainers inside which the Panes are placed - by changing the Width and the Height of the SplitContainers from code-behind the GridSplitter should move as expected.
We hope the provided information will be helpful for you.
Regards,
Nasko
Telerik
RadDocking uses RadGridSplitter to provide you the functionality to re-size the Panes during run time. However, actually the measures of the Grid inside which the Panes are placed are changed. So, basically there isn't any built-in functionality of the GridSplitter that provides you the ability to achieve the desired. We suggest you to check the following article that answers in details why this is not possible and what actually is the functionality and the role of the splitter:
http://blog.onedevjob.com/2012/01/08/moving-gridsplitter-with-code-behind-is-not-the-right-question/
So, basically in order to move the GridSplitter from code behind you actually need to change the current size of the SplitContainers inside which the Panes are placed - by changing the Width and the Height of the SplitContainers from code-behind the GridSplitter should move as expected.
We hope the provided information will be helpful for you.
Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items