This is a migrated thread and some comments may be shown as answers.

Prism's regions not working with hosted RadTransitionControl

3 Answers 64 Views
NavigationView (Hamburger Menu)
This is a migrated thread and some comments may be shown as answers.
Jesus
Top achievements
Rank 1
Jesus asked on 26 Apr 2019, 06:41 PM

I'm using the following code (taken from WPF demos and slightly adjusted for Prism, as suggested in the documentation). However, requesting a change to the region's content doesn't show anything.

I have also tried having a ContentControl inside RadTransitionControl.Content to no avail. It is unclear to me at this point whether this is an issue with NavigationView or RadTransitionControl

<telerik:RadNavigationView x:Name="navigationView"
                            Grid.Row="1"
                            ItemsSource="{Binding Items}"
                            SelectedIndex="0">
    <telerik:RadNavigationView.Content>
        <telerik:RadTransitionControl prism:RegionManager.RegionName="ContentRegion"
                                      Duration="0:0:0.4">
            <telerik:RadTransitionControl.Transition>
                <telerik:FadeTransition />
            </telerik:RadTransitionControl.Transition>
        </telerik:RadTransitionControl>
    </telerik:RadNavigationView.Content>
    <telerik:RadNavigationView.PaneFooter>
        <telerik:RadNavigationViewItem Content="Settings"
                                        Command="{x:Static common:NavigationViewSettingsCommands.OpenSettingsDialogCommand}"
                                        CommandParameter="{Binding ElementName=navigationView}"
                                        IconTemplate="{x:Null}">
            <telerik:RadNavigationViewItem.Icon>                       
                    <telerik:RadGlyph Glyph="" FontSize="20" />                       
            </telerik:RadNavigationViewItem.Icon>
        </telerik:RadNavigationViewItem>
    </telerik:RadNavigationView.PaneFooter>
</telerik:RadNavigationView>

3 Answers, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 01 May 2019, 09:47 AM
Hello Jesus,

Thank you for the provided code snippet.

I am currently checking your scenario. I need to test a few things on my side. I will let you know my observation as soon as I have more information about your case.

Regards,
Dinko
Progress TelerikWant to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Kalin
Telerik team
answered on 02 May 2019, 08:02 AM
Hello Jesus,

Thanks for your patience. The explained issue has already been fixed in one of the recent internal builds. Could you please download the latest one from your Telerik account and give it a try? 

Please let me know if everything works as exected with the internal build.

Regards,
Kalin
Progress TelerikWant to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Jesus
Top achievements
Rank 1
answered on 04 May 2019, 06:26 PM

Hi Kalin,

I have tested the internal build and everything seems fine. Thanks for the quick follow up!

Best regards,

Jesus

Tags
NavigationView (Hamburger Menu)
Asked by
Jesus
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Kalin
Telerik team
Jesus
Top achievements
Rank 1
Share this question
or