-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsfixed-in-8.0.80fixed-in-9.0.0-preview.7.24407.4platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
This is partly a collection of issues and partly a more specific issue. Not sure if this is 100% a bug in all cases either.
XamlC uses the x:DataType="<type-name>"
on <DataTemplate>
to generate type-specific bindings, however, somce times the scope is incorrect or if the XAML is wrong but happens to match there is no exception and just fails silently.
In debug you can also get these errors using
<_MauiForceXamlCForDebug>true</_MauiForceXamlCForDebug>
but still no warnings or exceptions anywhere.
Steps to Reproduce
- Clone https://github.com/mattleibow/maui-bug-repros/tree/repro-xamlc-datatype
- Run
- Observe that not all the collection views have items in them
Link to public reproduction project repository
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
All versions
Did you find any workaround?
Make sure the x:DataType
is specified correctly, and on every level of templates.
Relevant log output
No response
Syed-RI, JoeMayo, mattleibow, simon10says, nor0x and 5 morenor0x and soroshsabz
Metadata
Metadata
Assignees
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsfixed-in-8.0.80fixed-in-9.0.0-preview.7.24407.4platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working