-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterpartnerIssue or Request from a partner teamIssue or Request from a partner teampartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versions/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Create a custom TemplatedView with property Content (type object) and property MyView (type view).
Whenever Content changes, populate the MyView with a view to your liking.
In the TemplatedView's ControlTemplate use ContentPresenter with its Content TemplateBinded to MyView.
Change the TemplatedView's content at runtime.
Instead of the MyView a default Label is displayed inside the TemplatedView.
Steps to Reproduce
- Run the provided sample project
- Click the button to change the Content of a custom TemplatedView.
Expected Behavior
The MyView View should be displayed in the ContentPresenter.
Actual Behavior
Instead of the MyView being displayed, a Label is displayed.
Link to public reproduction project repository
https://github.com/telerik/ms-samples/tree/main/Maui/ContentPresenterConverterIssue
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterpartnerIssue or Request from a partner teamIssue or Request from a partner teampartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versions/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working