Completed
Last Updated: 04 May 2020 08:57 by ADMIN
Release R2 2020
Created by: Martin Ivanov
Comments: 9
Category: NavigationView
Type: Feature Request
25

Add a feature that allows you to open a sub menu when you click on a RadNavigationViewItem.

Similar to the hamburger menu in the Windows' Mail application.

Completed
Last Updated: 01 Jun 2020 13:23 by ADMIN
Release LIB 2020.2.608 (06/08/2020)

If you set the RadNavigationView's IsPaneOpen property in XAML and start the application, the items are is not opened (the pane is collapsed). You can notice that IsPaneOpen property is set back to false, when the control gets loaded.

To work this around, subscribe to the Loaded event of the RadNavigationView instance and in the event handler, set the IsPaneOpen property.

private void RadNavigationView_Loaded(object sender, RoutedEventArgs e)
{
	this.radNavigationView.IsPaneOpen = true;
}

Completed
Last Updated: 07 Aug 2024 08:11 by ADMIN
Release 2024.3.806 (2024 Q3)
When the font size is changed through the Fluent palette, it is not respected in RadNavigationViewItems.
Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)

The fly view is not properly displayed when the second item is clicked and the sub-items are expanded (see attached video). 

Attached is a project with a workaround as well. 

Completed
Last Updated: 28 Sep 2023 11:12 by ADMIN
Release R3 2023

TypeNameParserException is printed in the Output pane of Visual Studio, when RadNavigationView is initialized. The exception message is:

MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException: 'Prefix 'helpers' does not map to a namespace.'

This happens because of a known issue in the Visual Studio designer, which is discussed here.

This issue can be safely ignored. It won't cause issues in the control at runtime.

Completed
Last Updated: 19 Aug 2021 07:07 by ADMIN
Release LIB 2021.2.823 (23 Aug 2021)

The parent RadNavigationViewItem doesn't appear selected in case you select one of its sub items,  then select another item from the root level and select the first item again. 
This reproduces only in the Fluent theme.

You can work this around by extracting the ControlTemplate of RadNavigationViewItem and removing the ExitAction of the following MultiDataTrigger.

<MultiDataTrigger>
	<MultiDataTrigger.Conditions>
		<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsExpanded}" Value="False"/>
		<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=HasSelectedSubItem}" Value="True"/>
	</MultiDataTrigger.Conditions>
	<MultiDataTrigger.EnterActions>
		<BeginStoryboard>
			<Storyboard>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="RenderTransform.ScaleY" Storyboard.TargetName="SelectedVisual">
					<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
					<EasingDoubleKeyFrame KeyTime="0:0:0.15" Value="1">
						<EasingDoubleKeyFrame.EasingFunction>
							<SineEase EasingMode="EaseIn"/>
						</EasingDoubleKeyFrame.EasingFunction>
					</EasingDoubleKeyFrame>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>
		</BeginStoryboard>
	</MultiDataTrigger.EnterActions>
	<MultiDataTrigger.ExitActions>
		<BeginStoryboard>
			<Storyboard>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="RenderTransform.ScaleY" Storyboard.TargetName="SelectedVisual">
					<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
					<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0">
						<EasingDoubleKeyFrame.EasingFunction>
							<SineEase EasingMode="EaseIn"/>
						</EasingDoubleKeyFrame.EasingFunction>
					</EasingDoubleKeyFrame>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>
		</BeginStoryboard>
	</MultiDataTrigger.ExitActions>
	<Setter TargetName="SelectedVisual" Property="Opacity" Value="1"/>
	<Setter TargetName="BackgroundVisual" Property="Background" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(mat:MaterialAssist.PressedBrush), Mode=OneWay}"/>
</MultiDataTrigger>

Then you can apply the modified template, using the ItemContainerStyle of RadNavigationView.

<telerik:RadNavigationView.ItemContainerStyle>
	<Style TargetType="telerik:RadNavigationViewItem">		
		<Setter Property="Template" Value="{StaticResource CustomNavigationViewItemControlTemplate}" />
	</Style>
</telerik:RadNavigationView.ItemContainerStyle>

 

Completed
Last Updated: 22 Jan 2021 13:28 by ADMIN
Release LIB 2021.1.125

Data binding the IsExpanded property of RadNavigationViewItem doesn't work on load of the control.

To work this around, you can override the IsExpandedProperty's metadata as shown in the attached project. Note that the project was created with the Xaml version of the Telerik dlls.

Completed
Last Updated: 12 Jan 2021 14:16 by ADMIN
Release R1 2021
If you collapse a RadNavigationViewItem with sub items where one of them is selected, the foreground of the parent item becomes white and it looks invisible on the default white background.

This reproduces in the Office2013 theme.

To work this around, extract the ControlTemplate of RadNavigationViewItem and change the Foreground values in the following trigger from MainBrush to AccentBrush or another brush of your choice.
<MultiDataTrigger>
	<MultiDataTrigger.Conditions>
		<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsExpanded}" Value="False"/>
		<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=HasSelectedSubItem}" Value="True"/>
	</MultiDataTrigger.Conditions>
	<Setter TargetName="IconContent" Property="TextElement.Foreground" Value="{telerik:Office2013Resource ResourceKey=AccentBrush}"/>
	<Setter TargetName="Content" Property="TextElement.Foreground" Value="{telerik:Office2013Resource ResourceKey=AccentBrush}"/>
	<Setter TargetName="ExpandedIcon" Property="TextElement.Foreground" Value="{telerik:Office2013Resource ResourceKey=AccentBrush}"/>
	<Setter TargetName="CollapsedIcon" Property="TextElement.Foreground" Value="{telerik:Office2013Resource ResourceKey=AccentBrush}"/>
	<Setter Property="BorderBrush" Value="{StaticResource NavigationView_NavItemBorderBrush_Selected}"/>
	<Setter TargetName="SelectedVisual" Property="helpers:ThemeHelper.CheckedBrush" Value="{telerik:Office2013Resource ResourceKey=AccentBrush}"/>
	<Setter TargetName="SelectedVisual" Property="Opacity" Value="1"/>
</MultiDataTrigger>
Completed
Last Updated: 31 Mar 2020 10:52 by ADMIN
Release LIB 2020.1.330 (03/30/2020)
Created by: Olivier
Comments: 3
Category: NavigationView
Type: Feature Request
0

Hello,

I would like to hide the pane toggle button. Consequently I set the PaneToggleButtonVisibility to "Collapsed" but I get the same render as I set "Hidden".

 

That would be nice if this space no longer exists when we set the property to collapsed.

The code sample I used:
<telerik:RadNavigationView x:Name="navigationView" PaneToggleButtonVisibility="Collapsed">
    <telerik:RadNavigationView.Items>
        <telerik:RadNavigationViewItem Content="Foo">
            <telerik:RadNavigationViewItem.Icon>
                <telerik:RadGlyph Glyph="&#xe13a;" FontSize="20" />
            </telerik:RadNavigationViewItem.Icon>
        </telerik:RadNavigationViewItem>
    </telerik:RadNavigationView.Items>
</telerik:RadNavigationView>

Thanks,

Completed
Last Updated: 11 Jul 2019 14:48 by ADMIN
Release LIB 2019.2.715 (7/15/2019)
Add a IconTemplateSelector property for the RadNavigationViewItem. This will allow more flexible content choosing.
Completed
Last Updated: 04 Jul 2019 10:16 by ADMIN
Release LIB 2019.2.708 (7/8/2019)
Created by: Dimitar
Comments: 0
Category: NavigationView
Type: Bug Report
0

<telerik:RadNavigationViewItem Content="Test" Foreground="Blue"/>

 

Possible workaround:

 

<telerik:RadNavigationViewItem>

    <TextBlock Text="Test" Foreground="Blue"/>

<telerik:RadNavigationViewItem>