This question is locked. New answers and comments are not allowed.
Hello
I have a pane that is docked to the right side of the screen initially. To set its initial width I use the DockingPanel.InitialSize attached property on the RadSplitContainer that contains the pane.
However, as soon as the user floats the window and then re-docks it, it takes up half the screen width.
Is there a way that I can re-set the width of either the Pane, PaneGroup, or SplitContainer as soon as it is redocked?
I have tried intercepting all the various events and setting the widths of items there, and I've tried using VisualStates in the themes. The only way I can seem to set the width of something apart from via the DockingPanel.InitialSize property, is via the MaxWidth property of the typed style for a RadPaneGroup in the theme. However, this means it gets set for all the panes, and not just the one on the right.
I've attached 3 images that show the steps. I need the panel on the right in 03 to return to the same width as in 01.
Any ideas please?
Thanks very much
Sam
I have a pane that is docked to the right side of the screen initially. To set its initial width I use the DockingPanel.InitialSize attached property on the RadSplitContainer that contains the pane.
However, as soon as the user floats the window and then re-docks it, it takes up half the screen width.
Is there a way that I can re-set the width of either the Pane, PaneGroup, or SplitContainer as soon as it is redocked?
I have tried intercepting all the various events and setting the widths of items there, and I've tried using VisualStates in the themes. The only way I can seem to set the width of something apart from via the DockingPanel.InitialSize property, is via the MaxWidth property of the typed style for a RadPaneGroup in the theme. However, this means it gets set for all the panes, and not just the one on the right.
I've attached 3 images that show the steps. I need the panel on the right in 03 to return to the same width as in 01.
Any ideas please?
Thanks very much
Sam