Skip to content

IndicatorTemplate in IndicatorView does not update when set dynamically without initial value #31128

@NafeelaNazhir

Description

@NafeelaNazhir

Description

When using IndicatorView, if the IndicatorTemplate property is not set initially and is assigned later (e.g., on a button click), the new template is not applied on all platforms.

Screen.Recording.2025-08-12.at.5.13.59.PM.mov

Steps to Reproduce

  1. Run the attached Sample MauiApp7.zip
  2. Create an IndicatorView without setting IndicatorTemplate initially
  3. Add a button that assigns a new DataTemplate to the IndicatorTemplate property on click.
  4. Run the app and click the button.

Expected Behavior:
The IndicatorView should immediately apply the new IndicatorTemplate across all platforms when assigned dynamically, even if it was not set initially.

Actual Behavior:
The indicator visuals remain unchanged and do not reflect the new template.

Link to public reproduction project repository

No response

Version with bug

9.0.90 SR9

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