Skip to content

Shell ItemTemplate and MenuItemTemplate are not applied dynamically at runtime #32417

@NafeelaNazhir

Description

@NafeelaNazhir

Description

When updating the Shell.ItemTemplate and Shell.MenuItemTemplate dynamically at runtime using code-behind (or binding via ViewModel), the new templates are not reflected in the Shell Flyout.

Actual Output:

Screen.Recording.2025-11-06.at.11.56.44.AM.mov

Steps to Reproduce

  1. Run the attached sample : TemplateIssue 3.zip
  2. Tap the button and observe that the templates are not updated.

Expected Result:

  • After clicking the button, the Shell Flyout should immediately update and render the new templates. Both ItemTemplate and MenuItemTemplate visuals should change accordingly.

Actual Result:

  • The Flyout does not reflect the new ItemTemplate or MenuItemTemplate. The old templates remain visible, and the new templates are not applied.

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions