Declined
Last Updated: 24 Aug 2017 08:54 by ADMIN
Wolfgang
Created on: 22 Aug 2017 21:23
Category: UI for WPF
Type: Bug Report
0
raddocking and ribbonwindow and prism issue when docking radpane derived classes
Hi support,
I've mixed RibbonWindow Sample and Prism with ReagionManager and RadDocking in this sample. When I try to dock a derived RadPane (e.g. OutputView or others) in center of the compass menu the derived RadPane Header is not shown as a tab in the split container. Only pure RadPane instances  (c.f. "_regionManager.RegisterViewWithRegion("DockingRegion", typeof(RadPane)); " in FileServicesModule class will dock in correct manner. 
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Martin
Posted on: 24 Aug 2017 08:54
Hello Wolfgang,

Thank you for the information and the attached project.

The reported behavior appears because the custom RadPane user controls are not based on the default RadPaneStyle. Basically, when using NoXaml dlls and creating a custom control deriving from UI for WPF control you will need to create a new style that is based on the default one. You can find some more information about this in the Styling the Controls help article (http://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-styling-the-controls#styling-custom-controls).

In your case you will need to do this for each view that derives from RadPane. Here is an example for the OutputView class:

<Style TargetType="views:OutputView" BasedOn="{StaticResource RadPaneStyle}" />

You can add this line in the App.xaml resources after your merge the Telerik theme resources.

Regards,
Martin Ivanov
Technical Support Engineer