Hi there
I've downloaded the WPF trial and I'm currently testing the latest version of RadDocking, but I've encountered a little problem.
When I relocate the two most right radpanes to the left and reload the window, the other two panes (not dockable) don't stretch to fill the whole window. You can find two images (before save and after save) below this post.
Also my XAML-code:
Another question:
Can I move two dockable panes as one with one dockable pane and leave the possibility to change the position of the two inner dockable panes inside the 'root' dockable pane?
I've attached an image (TwoInOne.png) about my question. Here also some explainnig XAML-code:
When I try this with the above code, I receive a NullReferenceException.
Thanks in advance
Lowie
I've downloaded the WPF trial and I'm currently testing the latest version of RadDocking, but I've encountered a little problem.
When I relocate the two most right radpanes to the left and reload the window, the other two panes (not dockable) don't stretch to fill the whole window. You can find two images (before save and after save) below this post.
Also my XAML-code:
<t:RadDocking x:Name="radDocking" HasDocumentHost="False" DragDropMode="Deferred"> <t:RadDocking.CompassStyle> <Style TargetType="t:Compass"> <Setter Property="IsCenterIndicatorVisible" Value="false" /> <Setter Property="IsLeftIndicatorVisible" Value="false" /> <Setter Property="IsRightIndicatorVisible" Value="false" /> </Style> </t:RadDocking.CompassStyle> <t:RadDocking.RootCompassStyle> <Style TargetType="t:RootCompass"> <Setter Property="IsTopIndicatorVisible" Value="false" /> <Setter Property="IsBottomIndicatorVisible" Value="false" /> </Style> </t:RadDocking.RootCompassStyle> <t:RadSplitContainer> <!--Left--> <t:RadSplitContainer InitialPosition="DockedLeft" Orientation="Vertical" t:ProportionalStackPanel.RelativeSize="200,200"> <t:RadPaneGroup AllowDrop="False" t:ProportionalStackPanel.RelativeSize="200,100"> <t:RadPane PaneHeaderVisibility="Collapsed" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False" CanUserPin="False" ContextMenuTemplate="{x:Null}" t:RadDocking.SerializationTag="Customer"/> </t:RadPaneGroup> <t:RadPaneGroup AllowDrop="False" t:ProportionalStackPanel.RelativeSize="200,300"> <t:RadPane PaneHeaderVisibility="Collapsed" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False" CanUserPin="False" ContextMenuTemplate="{x:Null}" t:RadDocking.SerializationTag="Ticket" /> </t:RadPaneGroup> </t:RadSplitContainer> <!--Right--> <t:RadSplitContainer InitialPosition="DockedRight" Orientation="Vertical" t:ProportionalStackPanel.RelativeSize="50,200"> <t:RadPaneGroup> <t:RadPane Header="Boven" CanUserClose="False" CanUserPin="False" CanFloat="False" ContextMenuTemplate="{x:Null}" t:RadDocking.SerializationTag="Number"> </t:RadPane> </t:RadPaneGroup> <t:RadPaneGroup> <t:RadPane Header="Onder" CanUserClose="False" CanUserPin="False" CanFloat="False" t:RadDocking.SerializationTag="Other" ContextMenuTemplate="{StaticResource PaneContextMenuTemplate}" /> </t:RadPaneGroup> </t:RadSplitContainer> </t:RadSplitContainer> <!--Bottom--> <t:RadSplitContainer InitialPosition="DockedBottom"> <t:RadPaneGroup Height="100"> <t:RadPane PaneHeaderVisibility="Collapsed" Header="Output" IsPinned="False" CanFloat="False" CanUserClose="False" CanUserPin="False" ContextMenuTemplate="{x:Null}" t:RadDocking.SerializationTag="Bottom" /> </t:RadPaneGroup> </t:RadSplitContainer> </t:RadDocking>Another question:
Can I move two dockable panes as one with one dockable pane and leave the possibility to change the position of the two inner dockable panes inside the 'root' dockable pane?
I've attached an image (TwoInOne.png) about my question. Here also some explainnig XAML-code:
<t:RadPaneGroup> <t:RadPane> <t:RadSplitContainer InitialPosition="DockedRight" Orientation="Vertical" t:ProportionalStackPanel.RelativeSize="50,200"> <t:RadPaneGroup> <t:RadPane Header="Boven" CanUserClose="False" CanUserPin="False" CanFloat="False" ContextMenuTemplate="{x:Null}" t:RadDocking.SerializationTag="Number"> </t:RadPane> </t:RadPaneGroup> <t:RadPaneGroup> <t:RadPane Header="Onder" CanUserClose="False" CanUserPin="False" CanFloat="False" t:RadDocking.SerializationTag="Other" ContextMenuTemplate="{StaticResource PaneContextMenuTemplate}" /> </t:RadPaneGroup> </t:RadSplitContainer> </t:RadPane> </t:RadPaneGroup>When I try this with the above code, I receive a NullReferenceException.
System.NullReferenceException was unhandled by user code HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=Telerik.Windows.Controls.Docking StackTrace: bij Telerik.Windows.Controls.RadPaneGroup.IsSourceDockingCurrentDock(IDataObject draggedPayload) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadPaneGroup.cs:regel 1656 bij Telerik.Windows.Controls.RadPaneGroup.OnDragOver(Object sender, DragEventArgs e) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadPaneGroup.cs:regel 1564 bij Telerik.Windows.DragDrop.DragEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragEventArgs.cs:regel 202 bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bij System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bij System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) bij Telerik.Windows.DragDrop.IInputElementExtensions.RaiseEvent(DependencyObject d, RoutedEventArgs routedEventArgs) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DependencyObjectExtensions.cs:regel 82 bij Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnDragEventHandler(Object sender, DragEventArgs e) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:regel 1737 bij Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnOver(Object sender, DragEventArgs e) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:regel 1812 bij System.Windows.DragEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bij System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bij System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) bij System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint) bij System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDragOver(Int32 dragDropKeyStates, Int64 point, Int32& effects) InnerException:Thanks in advance
Lowie