Current behavior
- Even if a NavigationViewItem has children the Chevron icon is not visible.
- There is no way to set TextTrimming for 'x:Name=ContentPresenter'
Expected behavior
- If a NavigationViewItem contains children the Chevron icon should be visible.
- There should be a way to set TextTrimming for the 'x:Name=ContentPresenter'.
How to reproduce it (as minimally and precisely as possible)
- Open the attached project, compile and run it.
- Observe that the first NavigationViewItem has a long text that is not trimmed.
- Press the item that says 'father' to see that it has children but there is no Chevron icon in that item.
Workaround
Custom Template copying the Material NavigationViewItem removing prefix 'todo:' from the 'ExpandCollapseChevron' Grid.
Environment
Nuget Package: Uno.WinUI
Package Version(s): 6.0.797
Affected platform(s):
All platforms should be affected. The ones marked are the ones I've tested.
Anything else we need to know?
Repro project