We have an application whose base shell window is nothing but the RadDock. One of the best usages we have found (basically the reason we bought the tools) is the multiple monitor support where you allow the DocumentPane to float and therefore be mobile around all of the screen real estate. We programmatically add these tabs/panes in our codebehind. To date (being the last two months), we have used the following code to add a tab and it has worked flawlessly. We new up a DocumentPane, throw in a user control, and it can fly around both screens. With the Q2 release, we have lost the capacity to use both monitors. You can drag the pane over to the secondary monitor, but it hits a "wall" and stops when the trailing edge of the pane reaches the near side of the secondary monitor.
Example: My secondary screen is on my left side. I start the app on the right monitor. I click a menu item to instantiate the new pane. I drag the pane from the right screen over to the left screen. The pane goes onto the secondary screen fine until the right edge of the pane reaches the right side of the left monitor. Then it stops. At that point, I'm only about 50 pixels into the other screen.
I can resize the dragged pane to take up whatever space I want, but it stays "locked" onto the edge of the screen instead of free floating. Is there an explanation as to why this behavior would change?
Thanks!
Doug
Code:
Example: My secondary screen is on my left side. I start the app on the right monitor. I click a menu item to instantiate the new pane. I drag the pane from the right screen over to the left screen. The pane goes onto the secondary screen fine until the right edge of the pane reaches the right side of the left monitor. Then it stops. At that point, I'm only about 50 pixels into the other screen.
I can resize the dragged pane to take up whatever space I want, but it stays "locked" onto the edge of the screen instead of free floating. Is there an explanation as to why this behavior would change?
Thanks!
Doug
Code:
<
telerik:RadDocking
Name
=
"dockApplication"
Grid.Column
=
"1"
BorderThickness
=
"1"
BorderBrush
=
"#B1B1B1"
Library:DockingExtensions.RemovePanesWhenClosed
=
"True"
Background
=
"#D3D3D3"
>
<
telerik:RadDocking.LayoutTransform
>
<
ScaleTransform
CenterX
=
"0"
CenterY
=
"0"
ScaleX
=
"{Binding ElementName=scaleSlider, Path=Value}"
ScaleY
=
"{Binding ElementName=scaleSlider, Path=Value}"
/>
</
telerik:RadDocking.LayoutTransform
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
Name
=
"panelGroupMain"
AllowDragReorder
=
"True"
></
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
RadDocumentPane documentPane =
new
RadDocumentPane
{
Content = control,
CanDockInDocumentHost =
true
,
CanFloat =
true
,
CanUserClose =
true
,
Header =
"Tab "
+ _tabCount +
" - "
+ title
};
panelGroupMain.AddItem(documentPane, DockPosition.Center);