Issue with adding FooterItems with mvvm

Hello,

i try to add FooterItems with mvvm wich are binded to FooterItems, but no items are displayed.

Other Items in the List "Pages", with same model is displayed wich is binded to ItemsSource.

The SubItems need other Properies?

I dont see any binding issues to the output window.

Any help please.


this List of Items is my ViewModel.

public List<ViewModelBase> FooterPages { get; set; } = new();


the model have following properties.

public string Titel { get; set; }

 public object Icon { get; }

 public object ItemType { get; private set; }


the View

<syncfusion:SfNavigationDrawer

        Background="GhostWhite"

        DisplayMode="Expanded"

        ExpandedModeWidth="180"

        ExpandedModeThresholdWidth="600"

        ItemsSource="{Binding Pages}"

        IconMemberPath="Icon"

        FooterItems="{Binding FooterPages}"

        DisplayMemberPath="Titel">

< syncfusion:SfNavigationDrawer />




1 Reply

RS Ruba Shanmugam Syncfusion Team April 19, 2022 12:05 PM UTC

Hi Johannes,


We have validated your query and we would like to let you know that currently, the FooterItems property supports only a type of NavigationItemCollection.

For more information refer to this link: https://help.syncfusion.com/wpf/navigation-drawer/header-and-footer#customizing-the-footer


We have prepared a sample for FooterItems with the NavigationItemCollection for your reference, get the sample from the attachment.


We have already logged a feature requests for Provide IEnumerable support for FooterItems” and it can be tracked through our feedback portal below.

Feedback link: https://www.syncfusion.com/feedback/34106/provide-ienumerable-support-for-footeritems

Please upvote this feature to make this our priority. While this feature itself is important we will prioritize the features every release, based on the user demands. So, this feature will be available in any of our upcoming releases.

If you have any more specifications/suggestions to the feature request, you can add them as a comment in the portal.

Regards,

Ruba Shanmugam



Attachment: NavigtaionDrawer_FooterItems_5e6134e0.zip

Loader.
Up arrow icon